I don't like this:
i = mock(Integer)
i.should_receive(:asdfasdf).and_return('foo')
puts i.asdfasdfShouldn't rspec check to see that :asdfasdf is a valid message to be sending Integer? Joe _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
