We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm attempting to upgrade a Rails 3.0 app to 3.1 edge but all of my view specs fail within action_view/test_case.
Failure/Error: Unable to find matching line from backtrace NameError: method `protect_against_forgery?' not defined in #<Module:0x10a678468> # ruby/1.8/bundler/gems/rails-92661b0c501a/actionpack/lib/action_view/test_case.rb:132:in `remove_method' # ruby/1.8/bundler/gems/rails-92661b0c501a/actionpack/lib/action_view/test_case.rb:132:in `say_no_to_protect_against_forgery!' # ruby/1.8/bundler/gems/rails-92661b0c501a/actionpack/lib/action_view/test_case.rb:131:in `module_eval' # ruby/1.8/bundler/gems/rails-92661b0c501a/actionpack/lib/action_view/test_case.rb:131:in `say_no_to_protect_against_forgery!' # ruby/1.8/bundler/gems/rails-92661b0c501a/actionpack/lib/action_view/test_case.rb:100:in `setup_with_controller' # ruby/1.8/gems/rspec-rails-2.5.0/lib/rspec/rails/adapters.rb:11:in `send' # ruby/1.8/gems/rspec-rails-2.5.0/lib/rspec/rails/adapters.rb:11:in `setup'
The text was updated successfully, but these errors were encountered:
Can you post a failing application on github? I will look into it asap.
Sorry, something went wrong.
Please check if it is fixed on master.
Fixed! Thanks José.
No branches or pull requests
I'm attempting to upgrade a Rails 3.0 app to 3.1 edge but all of my view specs fail within action_view/test_case.
The text was updated successfully, but these errors were encountered: