Skip to content

Commit

Permalink
Exclude some cuke scenarios to run on jruby to work around weird bug.
Browse files Browse the repository at this point in the history
For some reason, these are failing because they are asserting the expected error message but aruba is reporting the output as "V" (yes, just one character!).  I have no idea why...
  • Loading branch information
myronmarston committed Nov 17, 2011
1 parent 977a9f1 commit 34882ce
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions features/cassettes/no_cassette.feature
Expand Up @@ -18,6 +18,7 @@ Feature: Error for HTTP request made when no cassette is in use
- `VCR.turned_off { ... }` => turn VCR off for the duration of the
provided block.

@exclude-jruby
Scenario Outline: Error for request when no cassette is in use
Given a file named "no_cassette_error.rb" with:
"""ruby
Expand Down
2 changes: 2 additions & 0 deletions features/configuration/ignore_request.feature
Expand Up @@ -29,6 +29,7 @@ Feature: Ignore Request
end
"""

@exclude-jruby
Scenario Outline: ignore requests to a specific port
Given a file named "ignore_request.rb" with:
"""ruby
Expand Down Expand Up @@ -120,6 +121,7 @@ Feature: Ignore Request
| c.hook_into :excon | excon |
| c.hook_into :faraday | faraday (w/ net_http) |

@exclude-jruby
Scenario Outline: localhost requests are not treated differently by default
Given a file named "localhost_not_ignored.rb" with:
"""ruby
Expand Down
1 change: 1 addition & 0 deletions features/record_modes/none.feature
Expand Up @@ -54,6 +54,7 @@ Feature: :none
When I run `ruby replay_recorded_response.rb`
Then it should pass with "Response: Hello"

@exclude-jruby
Scenario: New requests are prevented
Given a file named "prevent_new_request.rb" with:
"""ruby
Expand Down
1 change: 1 addition & 0 deletions features/record_modes/once.feature
Expand Up @@ -61,6 +61,7 @@ Feature: :once
When I run `ruby replay_recorded_response.rb`
Then it should pass with "Response: example.com response"

@exclude-jruby
Scenario: New requests result in an error when the cassette file exists
Given a file named "error_for_new_requests_when_cassette_exists.rb" with:
"""ruby
Expand Down
1 change: 1 addition & 0 deletions features/request_matching/playback_repeats.feature
Expand Up @@ -12,6 +12,7 @@ Feature: Playback repeats

:allow_playback_repeats => true

@exclude-jruby
Scenario: Responses do not repeat by default
Given a previously recorded cassette file "cassettes/example.yml" with:
"""
Expand Down
1 change: 1 addition & 0 deletions features/test_frameworks/cucumber.feature
Expand Up @@ -23,6 +23,7 @@ Feature: Usage with Cucumber
be used, or you can override specific options by passing a hash as the
last argument to `#tag` or `#tags`.

@exclude-jruby
Scenario: Record HTTP interactions in a scenario by tagging it
Given a file named "lib/server.rb" with:
"""ruby
Expand Down

0 comments on commit 34882ce

Please sign in to comment.