Re: [rspec-users] RSpec in Rails -- HTTP methods

2008-09-12 Thread tastapod
+1 for ramaze. The gem also installs some lovely example apps and they use rspec for their development, so there are plenty of example specs both at the code and integration (web) level. I've not been writing ruby web apps in anger but for all the little example apps I write I've been using ramaze

Re: [rspec-users] RSpec in Rails -- HTTP methods

2008-09-12 Thread Mark Dodwell
Many thanks for the info, that certainly clarifies things! ~ Mark -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] RSpec in Rails -- HTTP methods

2008-09-11 Thread Ashley Moran
On 10 Sep 2008, at 23:21, Matt Wynne wrote: With that one sentence, you have summed up all the painful bits of my first five weeks on rails. Bring on merb :) If you're doing something simple, try Ramaze[1] (although I will investigate Merb in depth soon for a more significant project). I'

Re: [rspec-users] RSpec in Rails -- HTTP methods

2008-09-10 Thread Matt Wynne
On 10 Sep 2008, at 19:49, Pat Maddox wrote: except you can't simply do that, because ActionPack is a rat's nest of dependencies. With that one sentence, you have summed up all the painful bits of my first five weeks on rails. Bring on merb :) cheers, Matt http://blog.mattwynne.net http

Re: [rspec-users] RSpec in Rails -- HTTP methods

2008-09-10 Thread Pat Maddox
On Wed, Sep 10, 2008 at 1:24 PM, Mark Dodwell <[EMAIL PROTECTED]> wrote: > 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

Re: [rspec-users] RSpec in Rails -- HTTP methods

2008-09-10 Thread David Chelimsky
On Wed, Sep 10, 2008 at 12:24 PM, Mark Dodwell <[EMAIL PROTECTED]> wrote: > 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

[rspec-users] RSpec in Rails -- HTTP methods

2008-09-10 Thread Mark Dodwell
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 t