Commit d3bd2989 authored by Eloy Duran's avatar Eloy Duran

The VCR fixture differs between Ruby versions, so clean it.

parent 12919c7b
...@@ -66,16 +66,16 @@ namespace :spec do ...@@ -66,16 +66,16 @@ namespace :spec do
end end
desc "Run the functional specs" desc "Run the functional specs"
task :functional => [:unpack_fixture_tarballs, "ext:cleanbuild"] do task :functional => :clean_env do
sh "bacon #{specs('functional/**')}" sh "bacon #{specs('functional/**')}"
end end
desc "Run the integration spec" desc "Run the integration spec"
task :integration => [:unpack_fixture_tarballs, "ext:cleanbuild"] do task :integration => :clean_env do
sh "bacon spec/integration_spec.rb" sh "bacon spec/integration_spec.rb"
end end
task :all => [:unpack_fixture_tarballs, "ext:cleanbuild"] do task :all => :clean_env do
sh "bacon #{specs('**')}" sh "bacon #{specs('**')}"
end end
...@@ -104,6 +104,13 @@ namespace :spec do ...@@ -104,6 +104,13 @@ namespace :spec do
end end
end end
end end
desc "Removes the stored VCR fixture"
task :clean_vcr do
sh "rm -f spec/fixtures/vcr/tarballs.yml"
end
task :clean_env => [:clean_vcr, :unpack_fixture_tarballs, "ext:cleanbuild"]
end end
namespace :examples do namespace :examples do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment