Skip to content


Specs epic fail under Rails rc5 #654

justinfrench opened this Issue · 4 comments

2 participants


Almost every test fails with wrong number of arguments (1 for 0), but we seem to be swallowing exactly where in the stack the error is really happening. Haven't yet tried it with a real app to know if it's just spec related or not. Same specs pass under rc4.


This is because posts_path now called with a parameter :format=>nil and in spec_helper.rb posts_path doesnt accept any parameters


@twalpole Awesome. Any ideas why the specs kind of swallowed the stack trace / ability to find where this came from?


Running tests now... much greener!

@justinfrench justinfrench added a commit that closed this issue
@justinfrench fix epic failing tests under Rails 3.1.0.rc5 due to our fake URL help…
…ers in spec_helper.rb needing to now accept arguments, thanks to twalpole, fixes #654

Not sure why its swallowing the real location of the error, I think it loses it somewhere in rspec - the change in rails that changed the behavior is rails/rails@036f775

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.