Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.463 kB
# encoding: utf-8
require 'rubygems'
require 'bundler'
Bundler::GemHelper.install_tasks
begin
require 'rspec'
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/rake_task'
desc "Run specs"
RSpec::Core::RakeTask.new('spec') do |t|
t.pattern = 'spec/**/*_spec.rb'
t.rspec_opts = ["-c"]
end
desc "Default: Run specs"
task :default => :spec
Jump to Line
Something went wrong with that request. Please try again.