search for: a11139116

Displaying 1 result from an estimated 1 matches for "a11139116".

Did you mean: 1119116
2007 Jun 15
3
dynamic specs
I''d like to test that my model attributes are properly protected against mass assignment, something like: it "should NOT update :balance on mass assignment" do @account.attributes = {:balance => 1000} @account.balance.should_not == 1000 end instead of doing each attribute manually however, I''d like to automate it so I can pass a list of attributes which CAN be