Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 27 lines (19 sloc) 0.595 kb
e57ae60 Myron Marston Updated Gemfile/gemspec/Rakefile, etc to use latest best practices based...
authored
1 require 'bundler'
2 require 'bundler/setup'
3 Bundler::GemHelper.install_tasks
4
d2577f7 Myron Marston Initial commit to vcr.
authored
5 require 'rake'
f05cc59 Myron Marston Upgrade to rspec-2.
authored
6 require "rspec/core/rake_task"
d2577f7 Myron Marston Initial commit to vcr.
authored
7
4ed657f Myron Marston Make it easy to temporarily use documentation format for the specs.
authored
8 RSpec::Core::RakeTask.new(:spec) do |t|
d0e7dbd Myron Marston Add :re_record_interval cassette option.
authored
9 #t.rspec_opts = %w[--format documentation]
4ed657f Myron Marston Make it easy to temporarily use documentation format for the specs.
authored
10 end
f05cc59 Myron Marston Upgrade to rspec-2.
authored
11
12 desc "Run all examples using rcov"
13 RSpec::Core::RakeTask.new :rcov => :cleanup_rcov_files do |t|
14 t.rcov = true
15 t.rcov_opts = %[-Ilib -Ispec --exclude "spec/*,gems/*" --text-report --sort coverage --aggregate coverage.data]
16 end
17
18 task :cleanup_rcov_files do
19 rm_rf 'coverage.data'
d2577f7 Myron Marston Initial commit to vcr.
authored
20 end
21
53d1f7d Myron Marston Remove unnecessary cucumber LoadError rescue.
authored
22 require 'cucumber/rake/task'
7a12870 Myron Marston Remove old cukes. I'm going to rewrite them in a documentation style.
authored
23 Cucumber::Rake::Task.new
24
4531950 Myron Marston Removed old cucumber rake tasks.
authored
25 task :default => [:spec, :cucumber]
d2577f7 Myron Marston Initial commit to vcr.
authored
26
Something went wrong with that request. Please try again.