views:

10

answers:

0

I'm getting an argument error whenever I run an RSpec test on any controller action that uses a POST or PUT action. It's happening on all of the controllers, no matter what I do. It's just the "wrong number of arguments (1 for 0)" one.

The app is working, but the tests are all failing. I think this is happening whenever a "save" is called on an object, but I can't figure out why that might cause an argument error since no arguments are being passed anywhere. This is all just basic RESTful stuff- super frustrating!

Any ideas?