Sha256: bc6df208bfb60cb65effa846ee2817ff12e4721b554dfcb0c745566b7828c252
Contents?: true
Size: 763 Bytes
Versions: 3
Compression:
Stored size: 763 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 go to "the users page" Then the javascript expression "$('html').hasClass('js')" should return "true" And the javascript expression "$('html').hasClass('no-js')" should return "false" """ When I run the rake task "cucumber" Then I see a successful response in the shell
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
da-suspenders-1.0.3 | features/running_cucumber.feature |
da-suspenders-1.0.2 | features/running_cucumber.feature |
da-suspenders-1.0.0 | features/running_cucumber.feature |