Sha256: 6499eed6e154f55e34c9fddd3664a6777d07b4a06d1dae99625abb557b492c29
Contents?: true
Size: 915 Bytes
Versions: 1
Compression:
Stored size: 915 Bytes
Contents
Feature: Running cucumber in the generated project Scenario: jQuery and Modernizr work in the generated project Given I drop and create the required databases And I generate "scaffold user username:string" And I run the rake task "db:migrate" And I create a file named "features/js_test.feature" with: """ Feature: Javascript @javascript Scenario: Test jQuery and Modernizr When I visit the users page Then the javascript expression "$('html').hasClass('js')" should return "true" And the javascript expression "$('html').hasClass('no-js')" should return "false" """ And I create a file named "features/step_definitions/user_steps.rb" with: """ When /^I visit the users page/ do visit "/users" end """ When I run the rake task "cucumber" Then I see a successful response in the shell
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
da-suspenders-1.2.0 | features/running_cucumber.feature |