On 7 Oct 2008, at 15:55, David Chelimsky wrote:
Is the block no longer being executed? If so, then we have a problem
:) Please report this at http://rspec.lighthouseapp.com.
Bizarrely, my little test...
require 'spec'
describe "Blocks" do
it "should be called" do
b = mock(Object)
b.should_receive(:this) do
b.should_receive(:that)
end
b.that
b.this
end
end
Works as expected (the above fails)
I'll have to investigate further...
Ashley
--
http://www.patchspace.co.uk/
http://aviewfromafar.net/
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users