diff options
Diffstat (limited to 'spec/factories/todos.rb')
-rw-r--r-- | spec/factories/todos.rb | 6 |
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 |