Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rake task for running specs

  • Loading branch information...
commit f9a1306b986d48a0c1ef4c411cac6f7620664a23 1 parent e07fa32
@gilesbowkett authored
Showing with 14 additions and 0 deletions.
  1. +1 −0  Gemfile
  2. +2 −0  Gemfile.lock
  3. +11 −0 Rakefile
View
1  Gemfile
@@ -1,6 +1,7 @@
source "http://rubygems.org"
gem 'activerecord', '3.1.0.rc1'
+gem 'rake', '0.8.7'
gem 'rspec'
gemspec
View
2  Gemfile.lock
@@ -24,6 +24,7 @@ GEM
diff-lcs (1.1.2)
i18n (0.6.0)
multi_json (1.0.3)
+ rake (0.8.7)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
@@ -40,4 +41,5 @@ PLATFORMS
DEPENDENCIES
activerecord (= 3.1.0.rc1)
buscando_el_viento!
+ rake (= 0.8.7)
rspec
View
11 Rakefile
@@ -1,3 +1,14 @@
require 'bundler'
Bundler::GemHelper.install_tasks
+# copied from RSpec :-p
+require 'rspec'
+require 'rspec/core'
+require 'rspec/core/rake_task'
+desc "Run all examples"
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.rspec_path = 'rspec'
+ t.rspec_opts = %w[--color]
+ t.verbose = false
+end
+
Please sign in to comment.
Something went wrong with that request. Please try again.