Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (18 sloc) 499 Bytes
require 'bundler'
begin
Bundler.setup
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install' to install missing gems"
exit e.status_code
end
require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
if ENV['TRAVIS']
spec.rspec_opts = %w{ --require spec_helper.rb --format Fuubar --color }
else
spec.rspec_opts = %w{ --require spec_helper.rb --format Fuubar --color }
end
end
task :default => [:spec]
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.