-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method `last_response' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_5::Nested_1:0x184dd658> #174
Comments
Generated specs only support ActiveRecord, but let's see if we can at least narrow down the problem. Please post the full backtrace of the error. |
I'm afraid, that's all I got:
|
Trying to set this up and running into a few config hiccups - I don't have any mongo apps yet. Would you kindly set one up in a github repo so I can pull exactly what you have? |
Also - before you do that - I just updated the gemspec so there is no longer a dependency on webrat. Would you please |
Okay, thanks that solved the problem. |
But... 147 # == Examples In line 156 primary_key returns nil. I guess this is due to ActiveRecord dependencies. BTW. I made a repo at gihub with the mentioned app. Cheers |
The |
it's not clear according to the comment history as to what the fix actually was. I'm running into the same issue trying to test an HTTP post request with JSON data. rspec 2.14.1 |
@tilo -- please open a new issue. This issue is 3 years old and since it's closed it doesn't stay on our active list. |
cool! will do |
After setting up a new app with the following Gemfile, I get the strange error which could be related to webrat (which I am not using and rspec-rails shouldn't either).
In application.rb I use the following:
And finally the specs failing:
This is all on trunk and by now I only have generated specs.
All help is very welcome.
Michael
The text was updated successfully, but these errors were encountered: