Hi -- I have a model that has a name attribute, and a method I'm speccing to remove all models from a collection if they have a name that starts with an underscore. My problem is that RSpec seems to be overwriting the name attribute, so the spec is failing when (I'm pretty sure) it should be passing. When I run it, none of the underscore-prefixed models are removed, and RSpec's complaint lists all the models that were in the original list, but with names like "Model_1007", "Model_1008" -- basically, the kinds of names that mock_model might give. Can anyone advise? Thanks, Doug.
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
