I am looking for a good free tutorial which implements RSpec with Rails
3. I have found many tutorials which work for Rails 2.x but leads you
into issues when trying the same in Rails 3. Rspec Gem also has updated
, coming off the age… Leading into compatibility issues.
I am able to setup RSpec in my app but I can’t fix issues I am getting
into. Its like i am implementing a customized app without get an overall
idea of what changes I would have to carefully incorporate due to usage
of the latest Rails ( say 3.0 ) and the latest RSpec gem 2.5. I am also
making use of rspec-rails 2.5 gem.
Such tutorials( based on earlier versions of Rails and Rspec ) I have
seen so far include:
I understand you’re looking for ‘free’ tutorials but I would really
strongly
advise you check out Michael H.'s http://ruby.railstutorial.org/screencast series. I’m not affiliated
with this in any way, but I watched
them recently (more for the Rails 3 info than RSpec) and found the use
of
RSpec and test-first development (not /really/ TDD) to be worth the
price
alone - there are so many rspec-rails specific gotchas that you just
don’t
even think about when using naked RSpec.
The screencast + PDF combination represent excellent value for money
(currently $95); which you should easily make back when you deploy your
first killer Rails app.
I understand you’re looking for ‘free’ tutorials but I would really
strongly
advise you check out Michael H.'s http://ruby.railstutorial.org/screencast series. I’m not affiliated
with this in any way, but I watched
them recently (more for the Rails 3 info than RSpec) and found the use
of
RSpec and test-first development (not /really/ TDD) to be worth the
price
alone - there are so many rspec-rails specific gotchas that you just
don’t
even think about when using naked RSpec.
The screencast + PDF combination represent excellent value for money
(currently $95); which you should easily make back when you deploy your
first killer Rails app.
HTH
James.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.