Permalink
Browse files

Up and running with RSpec

  • Loading branch information...
1 parent a3989d0 commit d5e4f9dde9f167294ace54174078a3b481cc49f6 Luke Redpath committed Apr 9, 2008
Showing with 18 additions and 0 deletions.
  1. +10 −0 Rakefile
  2. +7 −0 spec/aardvark_spec.rb
  3. +1 −0 spec/spec.opts
  4. 0 spec/spec_helper.rb
View
@@ -0,0 +1,10 @@
+require 'rake'
+require 'spec/rake/spectask'
+
+desc "Run all specs"
+Spec::Rake::SpecTask.new('spec') do |t|
+ t.spec_files = FileList['spec/**/*_spec.rb']
+ t.spec_opts = ['--options', 'spec/spec.opts']
+end
+
+task :default => :spec
View
@@ -0,0 +1,7 @@
+require File.join(File.dirname(__FILE__), *%w[spec_helper])
+
+describe "RSpec setup" do
+ it "should be working" do
+ true.should be_true
+ end
+end
View
@@ -0,0 +1 @@
+--colour
View
No changes.

0 comments on commit d5e4f9d

Please sign in to comment.