Tag Archives: BDD

Cucumber- IndexError-element size differs (2 should be 3)

cause by missing the column marker(pipe symbol) in Scenarios: Error code …. ….. Scenarios: no matches | code | guess | mark | | 1234 | 5555 | Scenarios: 1 number correct | code | guess | mark | | … Continue reading

Posted in rails, ROR, ruby on rails | Tagged , , , | Leave a comment

RSpec With Rails 3.1.2

1) Install the gems: $ gem install rspec $ gem install webrat $ gem install rspec-rails 2) add these to gem file and bundle install group :development, :test do gem ‘rspec-rails’ end 3)run the following in the project directory rails … Continue reading

Posted in rails, ROR, ruby on rails, web development | Tagged , , | Leave a comment