Skip to content

Commit

Permalink
Only configure ExVCR in test mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mbklein committed May 12, 2020
1 parent 882837f commit e29ecf2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions config/config.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use Mix.Config

config :exvcr,
vcr_cassette_library_dir: "test/fixtures/vcr_cassettes",
custom_cassette_library_dir: "test/fixtures/custom_cassettes"
import_config "#{Mix.env()}.exs"
Empty file added config/dev.exs
Empty file.
5 changes: 5 additions & 0 deletions config/test.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Mix.Config

config :exvcr,
vcr_cassette_library_dir: "test/fixtures/vcr_cassettes",
custom_cassette_library_dir: "test/fixtures/custom_cassettes"

0 comments on commit e29ecf2

Please sign in to comment.