Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-02 03:06:26 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-02 03:06:26 +0300
commit587794b4b8a6e919e77ee4abe8215fa291e6a91d (patch)
tree380d6578d1ab5902bb521071128bafd4f70472ef /spec/factories/todos.rb
parente0bd3a45d9dc6c74cac1a33ea8c03d6d8334249b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/todos.rb')
-rw-r--r--spec/factories/todos.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/factories/todos.rb b/spec/factories/todos.rb
index 2ff024112a4..bb91fc9ac8e 100644
--- a/spec/factories/todos.rb
+++ b/spec/factories/todos.rb
@@ -38,11 +38,11 @@ FactoryBot.define do
end
trait :pending do
- state :pending
+ state { :pending }
end
trait :done do
- state :done
+ state { :done }
end
end
@@ -52,6 +52,6 @@ FactoryBot.define do
user
action { Todo::ASSIGNED }
commit_id { RepoHelpers.sample_commit.id }
- target_type "Commit"
+ target_type { "Commit" }
end
end