You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Devise
Hi
I upgrade a project from rails 2 to rails 3. I use devise 1.1.1 and
rails 3rc I have an issue on any spec.
The simpler spec on registrations#new is:
describe "GET 'new'" do
it "should be successful" do
get :new
response.should be_success
end
end
I got
Failure/Error: get :new
AbstractController::ActionNotFound
# /Users/seb/.rvm/gems/ruby-head@navia/gems/devise-1.1.1/lib/
devise/controllers/internal_helpers.rb:55:in `is_devise_resource?'
I think it's because request.env["devise.mapping"] is not set.
Any idea?
José Valim
unread,
Jul 30, 2010, 2:02:34 PM7/30/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to plataforma...@googlegroups.com
Please check the session Configuring Routes in the README.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to plataforma...@googlegroups.com
Ah, sorry for my earlier reply. Yes, this is a bug in how Rails/RSpec organize controller specs. The best you can do is to set it manually in a before filter.