Sha256: a9c3ae5a55fa8551a4475fda344baee492de3134b7d8379b2b0ade9ff69ff747

Contents?: true

Size: 746 Bytes

Versions: 2

Compression:

Stored size: 746 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

2 entries across 2 versions & 1 rubygems

Version Path
da-suspenders-1.1.0 features/running_cucumber.feature
da-suspenders-1.0.1 features/running_cucumber.feature