Skip to content

Commit

Permalink
Remove remaining vcr bits
Browse files Browse the repository at this point in the history
  • Loading branch information
katzj committed Nov 26, 2024
1 parent 3eb51bd commit 9e32c29
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 365 deletions.
1 change: 0 additions & 1 deletion bibliothecary.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake", "~> 12.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "webmock"
spec.add_development_dependency "vcr"
spec.add_development_dependency "rubocop"
spec.add_development_dependency "rubocop-rails"
end
6 changes: 3 additions & 3 deletions spec/bibliothecary_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
related_paths: ["Gemfile", "Gemfile.lock"] }])
end

it "handles a complicated folder with many manifests", :vcr do
it "handles a complicated folder with many manifests" do
# If we run the analysis in pwd, confusion about absolute vs.
# relative paths is concealed because both work
orig_pwd = Dir.pwd
Expand Down Expand Up @@ -207,7 +207,7 @@
Bibliothecary.reset
end

it "handles a complicated folder with many manifests", :vcr do
it "handles a complicated folder with many manifests" do
# If we run the analysis in pwd, confusion about absolute vs.
# relative paths is concealed because both work
orig_pwd = Dir.pwd
Expand Down Expand Up @@ -293,7 +293,7 @@
Bibliothecary.reset
end

it "handles a dual-platformed file (pip/conda)", :vcr do
it "handles a dual-platformed file (pip/conda)" do
# If we run the analysis in pwd, confusion about absolute vs.
# relative paths is concealed because both work
orig_pwd = Dir.pwd
Expand Down
7 changes: 0 additions & 7 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,7 @@ def load_fixture(name)
end
end

require "vcr"
require "webmock/rspec"
WebMock.disable_net_connect!(allow_localhost: true)

VCR.configure do |c|
c.cassette_library_dir = "spec/vcr"
c.configure_rspec_metadata!
c.hook_into :webmock
end

require "pry"

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9e32c29

Please sign in to comment.