Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
Showing with 4 additions and 2 deletions.
  1. +2 −1  .travis.yml
  2. +1 −0  features/ssl.feature
  3. +1 −1  features/support/vcr.rb
3  .travis.yml
View
@@ -1,4 +1,5 @@
rvm:
- 1.8.7
- 1.9.2
-script: "bundle exec rake spec"
+ - 1.9.3
+script: "bundle exec rake"
1  features/ssl.feature
View
@@ -16,5 +16,6 @@ Scenario: Entity should fill values on protected resource
Then the method "Id" on the first result should equal: "1"
And the method "Name" on the first result should equal: "Auth Test Category"
+# 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...
# Scenario: Should get SSL failure if SSL used with self-signed certificate and not passing "false" as :verify_ssl option
# Given a HTTPS BasicAuth ODataService exists it should throw an exception with message containing "SSL Verification failed"
2  features/support/vcr.rb
View
@@ -3,7 +3,7 @@
VCR.configure do |c|
c.hook_into :webmock
c.cassette_library_dir = "features/cassettes"
- c.default_cassette_options = { :record => :once }
+ c.default_cassette_options = { :record => :none }
end
VCR.cucumber_tags do |t|
Please sign in to comment.
Something went wrong with that request. Please try again.