Skip to content

Commit

Permalink
Add task to re-migrate spec fixtures.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Nov 2, 2011
1 parent 727510f commit 04e2595
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ task :release => [:require_ruby_18, :prep_relish_release, :relish]
task :test => :spec

load './lib/vcr/tasks/vcr.rake'
namespace :vcr do
task :reset_spec_cassettes do
ENV['DIR'] = 'spec/fixtures'
def VCR.version; "2.0.0"; end
sh "git checkout v2.0.0.beta1 -- spec/fixtures"
end

task :migrate_cassettes => :reset_spec_cassettes
end

desc "Migrate cucumber cassettes"
task :migrate_cucumber_cassettes do
Expand Down

0 comments on commit 04e2595

Please sign in to comment.