Sha256: ef646a35ec7a5392c4fd2c4bc74e1940531e343170effbe468d1b366ae36f67a

Contents?: true

Size: 930 Bytes

Versions: 8

Compression:

Stored size: 930 Bytes

Contents

@rails
Feature: Rails Specs

  Scenario: JavaScript spec in Rails
    Given file "spec/javascripts/script.js" contains "1"
    When I visit "/spec/script.js"
    Then I should see "1"

  Scenario: CoffeeScript spec in Rails
    Given file "spec/javascripts/script.js.coffee" contains "2"
    When I visit "/spec/script.js"
    Then I should see "2"

  Scenario: List JS Specs
    # This is used when building the list of specs to include in the suite.
    Given file "spec/javascripts/script_spec.js" contains "1"
    When I visit "/jasmine"
    Then I should see a "script" element with attribute "src" equal to "/spec/script_spec.js"

  Scenario: List CS Specs
    # This is used when building the list of specs to include in the suite.
    Given file "spec/javascripts/script_spec.js.coffee" contains "2"
    When I visit "/jasmine"
    Then I should see a "script" element with attribute "src" equal to "/spec/script_spec.js"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jax-2.0.7 features/rails/specs.feature
jax-2.0.6 features/rails/specs.feature
jax-2.0.5 features/rails/specs.feature
jax-2.0.4 features/rails/specs.feature
jax-2.0.3 features/rails/specs.feature
jax-2.0.2 features/rails/specs.feature
jax-2.0.1 features/rails/specs.feature
jax-2.0.0 features/rails/specs.feature