Permalink
Browse files

Use .rspec file to set RSpec config so rspec binary can see them

  • Loading branch information...
1 parent e5d7c79 commit b5ce2f71357e25b19097014e0be1686629945dcb @adzap adzap committed Apr 13, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 .rspec
  2. +1 −1 Rakefile
View
1 .rspec
@@ -0,0 +1 @@
+--color
View
2 Rakefile
@@ -2,6 +2,6 @@ require "bundler/gem_tasks"
require "rspec/core/rake_task"
desc "Run specs"
-RSpec::Core::RakeTask.new { |t| t.rspec_opts = "--color" }
+RSpec::Core::RakeTask.new(:spec)
task :default => :spec

0 comments on commit b5ce2f7

Please sign in to comment.