lib/madvertise/tasks/rspec.rake in madvertise-ext-0.5.2 vs lib/madvertise/tasks/rspec.rake in madvertise-ext-0.5.3
- old
+ new
@@ -2,10 +2,15 @@
require 'rspec'
require 'rspec/core/rake_task'
desc "Run the specs"
RSpec::Core::RakeTask.new do |t|
- t.rspec_opts = ['--options', "spec/spec.opts"]
+ t.verbose = false
+ t.rspec_opts = [
+ '--require', 'spec_helper',
+ '--color',
+ '--format', 'Fuubar'
+ ]
end
task :default => [:spec]
rescue LoadError
STDERR.puts "failed to load rspec. please add gem 'rspec' to your Gemfile in order to use rspec"