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/issues.rb
parente0bd3a45d9dc6c74cac1a33ea8c03d6d8334249b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/issues.rb')
-rw-r--r--spec/factories/issues.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/factories/issues.rb b/spec/factories/issues.rb
index 434225f7022..70f480a3bcb 100644
--- a/spec/factories/issues.rb
+++ b/spec/factories/issues.rb
@@ -8,19 +8,19 @@ FactoryBot.define do
updated_by { author }
trait :confidential do
- confidential true
+ confidential { true }
end
trait :opened do
- state :opened
+ state { :opened }
end
trait :locked do
- discussion_locked true
+ discussion_locked { true }
end
trait :closed do
- state :closed
+ state { :closed }
closed_at { Time.now }
end
@@ -29,7 +29,7 @@ FactoryBot.define do
factory :labeled_issue do
transient do
- labels []
+ labels { [] }
end
after(:create) do |issue, evaluator|