Skip to content

Commit

Permalink
Update project to use rspec 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
samg committed Dec 10, 2010
1 parent bb192ff commit 75ed0ac
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--color
--profile
10 changes: 6 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
require 'spec/rake/spectask'
require 'rake/rdoctask'
require 'rake/gempackagetask'
require 'rspec/core/rake_task'

desc 'Default: run specs.'
task :default => :spec

desc "Run all specs in spec directory"
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
desc "Run specs"
RSpec::Core::RakeTask.new do |t|
t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
# Put spec opts in a file named .rspec in root
end

Rake::RDocTask.new do |rd|
Expand Down
2 changes: 0 additions & 2 deletions spec/spec.opts

This file was deleted.

0 comments on commit 75ed0ac

Please sign in to comment.