It seems that RSpec-Rails isn't restricted to the HTTP methods
correctly.

For example doing:

   http://foo.local/session/destroy

in the browser doesn't work, because the destroy action is only
recognised with the HTTP 'delete' verb.

But in Rspec specs if you do:

  get :destroy

It works.

Is this intended behaviour or a bug?

Many Thanks,

~ Mark
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to