Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…l pass.
  • Loading branch information...
commit 7585ed639c70eecc35438cd0a9bd90a6d10a4d3a 1 parent db0d075
Derek Lindahl authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 Rakefile
10 Rakefile
View
@@ -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"}
Please sign in to comment.
Something went wrong with that request. Please try again.