Tag Archives: cucumber

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

Installing Cucumber

1) sudo gem install cucumber-rails 2) Add cucumber-rails and dependencies to the :cucumber group in the Gemfile: group :cucumber do gem ‘capybara’ gem ‘database_cleaner’ gem ‘cucumber-rails’ gem ‘cucumber’ gem ‘spork’ gem ‘launchy’ end 3) sudo bundle install 4) rails generate … Continue reading

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