Sha256: 3acdbc663f23ba1cf17106e065a794c2308311efbccb6fbcda42b9228ce04c4a
Contents?: true
Size: 1.78 KB
Versions: 4
Compression:
Stored size: 1.78 KB
Contents
Feature: Installing culerity In order to not have to use f@#$ing selenium and receive hate into our lives As a self-respective Rails/JavaScript developer I want to install culerity into my Rails app Background: Given a Rails app And I run executable "script/generate" with arguments "cucumber --rspec --webrat" And I delete file "features/step_definitions/web_steps.rb" And I delete file "features/support/env.rb" And culerity is installed as a plugin And I invoke task "rake db:migrate" When I run executable "script/generate" with arguments "culerity" And I setup load path to local code And I setup the culerity javascript helpers And I add the JRUBY_INVOCATION check to "features/support/env.rb" And I add an rvm_verbose_flag=0-wielding .rvmrc to the home folder Scenario: Install culerity and test the rails start + stop tasks When I invoke task "rake culerity:rails:start" Then file "tmp/culerity_rails_server.pid" is created And I invoke task "rake culerity:rails:stop" Then file "tmp/culerity_rails_server.pid" is not created Scenario: Install culerity into a Rails app and check it works Then file "features/step_definitions/culerity_steps.rb" is created Then file "config/environments/culerity.rb" is created When I run executable "cucumber" with arguments "features/" Then I should see "0 scenarios" And I should see "0 steps" Given I invoke task "rake culerity:rails:start" When I add a feature file to test Rails index.html default file And I run executable "cucumber" with arguments "features/" Then I should see "1 scenario" And I should see "5 steps (5 passed)" And I should not see "WARNING: Speed up executing by running 'rake culerity:rails:start'"
Version data entries
4 entries across 4 versions & 1 rubygems