spec/msgr/msgr/routes_spec.rb in msgr-0.14.1.1.b126 vs spec/msgr/msgr/routes_spec.rb in msgr-0.14.1.1.b128
- old
+ new
@@ -10,10 +10,10 @@
it 'should evaluate given block within instance context' do
expect(routes).to receive(:instance_eval) do |&p|
expect(p).to be block
end
- routes.configure &block
+ routes.configure(&block)
end
it 'should allow to call instance method in gven block' do
expect(routes).to receive(:test_instance_method).with(:abc)