Everything in the params hash is a string when it comes through the
controller. If you're passing the entire params hash to AwardingBody.new,
the params hash looks like {'these' => 'params'}. Thus, if you change your
expectation to {'these' => 'params'}, it will be satisfied.

In the future, it's probably best to post RSpec questions to the rspec-users
mailing list: http://rubyforge.org/mailman/listinfo/rspec-users .

Regards,
Craig

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to