test/example_wrapper_test.rb in surrounded-0.9.11 vs test/example_wrapper_test.rb in surrounded-1.0.0
- old
+ new
@@ -18,10 +18,10 @@
end
end
describe WrapperContext do
let(:context){
- WrapperContext.new(Object.new, Object.new)
+ WrapperContext.new(admin: Object.new, task: Object.new)
}
it 'wraps objects and allows them to respond to new methods' do
assert_equal 'hello from the admin wrapper!', context.do_something
end
end
\ No newline at end of file