Skip to content
This repository
Browse code

Set VCR to not record episodes and removed the one scenario that requ…

…ires the server. Now cucumber tests can be run without the OData server being online.
  • Loading branch information...
commit 643750d79dad383e2e02b77b4353eff1604fbb43 1 parent da202c1
Damien White authored
3  .travis.yml
... ... @@ -1,4 +1,5 @@
1 1 rvm:
2 2 - 1.8.7
3 3 - 1.9.2
4   -script: "bundle exec rake spec"
  4 + - 1.9.3
  5 +script: "bundle exec rake"
1  features/ssl.feature
@@ -16,5 +16,6 @@ Scenario: Entity should fill values on protected resource
16 16 Then the method "Id" on the first result should equal: "1"
17 17 And the method "Name" on the first result should equal: "Auth Test Category"
18 18
  19 +# TODO: Commented this scenario out because it requires the server to be online in order for the tests to run. Would like to move this to a mocked test that would accomplish the same thing...
19 20 # Scenario: Should get SSL failure if SSL used with self-signed certificate and not passing "false" as :verify_ssl option
20 21 # Given a HTTPS BasicAuth ODataService exists it should throw an exception with message containing "SSL Verification failed"
2  features/support/vcr.rb
@@ -3,7 +3,7 @@
3 3 VCR.configure do |c|
4 4 c.hook_into :webmock
5 5 c.cassette_library_dir = "features/cassettes"
6   - c.default_cassette_options = { :record => :once }
  6 + c.default_cassette_options = { :record => :none }
7 7 end
8 8
9 9 VCR.cucumber_tags do |t|

0 comments on commit 643750d

Please sign in to comment.
Something went wrong with that request. Please try again.