Skip to content
This repository was archived by the owner on Sep 27, 2018. It is now read-only.

Commit e2f738d

Browse files
committed
replace vcr with webmock in spec_helper
1 parent 3a86f02 commit e2f738d

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

spec/spec_helper.rb

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
require 'codeship'
2-
require 'vcr'
2+
require 'webmock/rspec'
3+
4+
WebMock.disable_net_connect!
35

46
# This file was generated by the `rspec --init` command. Conventionally, all
57
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
@@ -45,7 +47,6 @@
4547

4648
# The settings below are suggested to provide a good initial experience
4749
# with RSpec, but feel free to customize to your heart's content.
48-
4950
# These two settings work together to allow you to limit a spec run
5051
# to individual examples or groups you care about by tagging them with
5152
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
@@ -91,9 +92,3 @@
9192
# as the one that triggered the failure.
9293
Kernel.srand config.seed
9394
end
94-
95-
VCR.configure do |c|
96-
c.cassette_library_dir = 'spec/fixtures/cassettes'
97-
c.hook_into :webmock
98-
c.configure_rspec_metadata!
99-
end

0 commit comments

Comments
 (0)