diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-04-30 10:38:48 +0200 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-06-13 11:12:23 -0500 |
commit | 7cc28a11d8bd38d0e3a87879bdd19e2a2e34ebbc (patch) | |
tree | e25bc61202c153ec28e98b37067c2aa1b6392f62 /Rakefile | |
parent | 3871bd602e2d8db3eb21e554ea60157e464df7d9 (diff) | |
download | bundler-7cc28a11d8bd38d0e3a87879bdd19e2a2e34ebbc.tar.gz |
[Rakefile] Allow re-recording all VCR cassettes
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -103,9 +103,18 @@ begin rm_rf "tmp" end - desc "Run the real-world spec suite (requires internet)" + desc "Run the real-world spec suite" task :realworld => %w[set_realworld spec] + namespace :realworld do + desc "Re-record cassettes for the realworld specs" + task :record => %w[set_record realworld] + + task :set_record do + ENV["BUNDLER_SPEC_FORCE_RECORD"] = "TRUE" + end + end + task :set_realworld do ENV["BUNDLER_REALWORLD_TESTS"] = "1" end |