Skip to content

Commit

Permalink
Updated spec task to include the spec_helper so that Travis tests wil…
Browse files Browse the repository at this point in the history
…l pass.
  • Loading branch information
Derek Lindahl committed Nov 4, 2012
1 parent db0d075 commit 7585ed6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'bundler/gem_tasks'

require 'rspec/core/rake_task'
desc 'Default: run specs.'
task :default => :spec
task default: :spec

desc "Run specs"
RSpec::Core::RakeTask.new
desc 'Run specs'
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = '--require spec_helper --color --order rand'
end

task :test do
fail %q{This application uses RSpec. Try running "rake spec"}
Expand Down

0 comments on commit 7585ed6

Please sign in to comment.