Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Specs epic fail under Rails rc5 #654

Closed
justinfrench opened this Issue · 4 comments

2 participants

@justinfrench

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.

@twalpole
Collaborator

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

@justinfrench

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

@justinfrench

Running tests now... much greener!

@justinfrench justinfrench closed this issue from a commit
@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
8b8e86c
@twalpole
Collaborator

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.