Browse files

Updated spec task to include the spec_helper so that Travis tests wil…

…l pass.
  • Loading branch information...
1 parent db0d075 commit 7585ed639c70eecc35438cd0a9bd90a6d10a4d3a Derek Lindahl committed Nov 4, 2012
Showing with 6 additions and 4 deletions.
  1. +6 −4 Rakefile
@@ -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"
+desc 'Run specs' do |t|
+ t.rspec_opts = '--require spec_helper --color --order rand'
task :test do
fail %q{This application uses RSpec. Try running "rake spec"}

0 comments on commit 7585ed6

Please sign in to comment.