Skip to content

Commit

Permalink
Add missing exclamation mark to create
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed Jun 2, 2022
1 parent 0736a1a commit 536c7bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/time_machine/structure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,5 +154,5 @@ class ::SubSubBar < ActiveRecord::Base
$t.boos = Array.new(2) { |i| ts_eval { Boo.create! name: "boo #{i}" } }
$t.moos = Array.new(2) { |i| ts_eval { Moo.create! name: "moo #{i}", boos: $t.boos } }

$t.baz = Baz.create name: 'baz', bar: $t.bar
$t.baz = Baz.create! name: 'baz', bar: $t.bar
end

0 comments on commit 536c7bf

Please sign in to comment.