test/context_shortcuts_test.rb in surrounded-0.9.11 vs test/context_shortcuts_test.rb in surrounded-1.0.0
- old
+ new
@@ -19,8 +19,8 @@
describe Surrounded::Context, 'shortcuts' do
let(:user){ User.new("Jim") }
let(:other){ User.new("Guille") }
it 'creates shortcut class methods for triggers' do
- assert_equal 'it works, shorty!', ShortcutContext.shorty(user, other)
+ assert_equal 'it works, shorty!', ShortcutContext.shorty(user: user, other: other)
end
end
\ No newline at end of file