Check github for latest installation instructions for different versions of
rails-
http://wiki.github.com/dchelimsky/rspec/rails

Gems are now the recommended installation mechanism unless running from edge
(as described on github and the RSpec beta book).

Regards,
Nick

On Sun, May 4, 2008 at 9:31 PM, Matthew Rudy Jacobs <
[email protected]> wrote:

>
> lunaclaire wrote:
> > I got aboard the rails train last year with my first project and made
> > the decision to not go the RESTful route since it didnt seem necessary
> > at the time and many of the tutorials and books had been written
> > before this was The Way.
> >
> > Now, there seem to be 2 things that I feel I'm falling behind on: 1)
> > Restful-ness, and 2) Rails 2.x (that first big project is still on
> > Rails 1.2.5).
>
> Just take a look at REST and RSPEC.
> It's all fairly straightforward,
> and is mostly about to make you approach in a more organised way
> controllers and testing.
>
> install rspec_on_rails
>
> > ruby script/plugin install
> http://rspec.rubyforge.org/svn/trunk/rspec_on_rails/
>
> then generate an rspec_resource
>
> > ruby script/generate rspec_scaffold test_resource
>
> look at what it gives you...
>
> a whole load of rspec tests
> and a restful controller...
>
>
> boom
>
> give it a go.
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to