Skip to content
Browse files

Add rspec tasks to Rake

  • Loading branch information...
1 parent b616c72 commit 39c66c8b785b23e3ed188832d3b02de386e8d3fc @mwunsch committed Mar 7, 2012
Showing with 10 additions and 0 deletions.
  1. +1 −0 Gemfile
  2. +2 −0 Gemfile.lock
  3. +7 −0 Rakefile
View
1 Gemfile
@@ -4,6 +4,7 @@ source "http://rubygems.org"
gemspec
gem "weary", :git => "git://github.com/mwunsch/weary.git"
+gem "rake", "~> 0.9.2"
group :test do
gem "rspec", "~> 2.8.0"
View
2 Gemfile.lock
@@ -29,6 +29,7 @@ GEM
multi_json (1.1.0)
promise (0.3.0)
rack (1.4.1)
+ rake (0.9.2.2)
rspec (2.8.0)
rspec-core (~> 2.8.0)
rspec-expectations (~> 2.8.0)
@@ -47,6 +48,7 @@ PLATFORMS
DEPENDENCIES
gilt-rb!
+ rake (~> 0.9.2)
rspec (~> 2.8.0)
weary!
webmock (~> 1.7.10)
View
7 Rakefile
@@ -1 +1,8 @@
require "bundler/gem_tasks"
+require 'rspec/core/rake_task'
+
+task :default => :spec
+
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.rspec_opts = ["--color"]
+end

0 comments on commit 39c66c8

Please sign in to comment.
Something went wrong with that request. Please try again.