Rakefile in omniauth-cas-1.0.0 vs Rakefile in omniauth-cas-1.0.1
- old
+ new
@@ -1,13 +1,15 @@
#!/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"}
end