updated to rspec 2.0.0

This commit is contained in:
Nico Hagenburger 2010-10-13 02:33:20 +02:00 committed by Chris Eppstein
parent aaffea49af
commit f577da1d5e
5 changed files with 9 additions and 19 deletions

2
.rspec Normal file
View File

@ -0,0 +1,2 @@
--colour
--format s

View File

@ -2,7 +2,7 @@ source :rubygems
gem "compass", :path => "." gem "compass", :path => "."
gem "cucumber" gem "cucumber"
gem "rspec" gem "rspec", "~>2.0.0"
gem "rails", "~>3.0.0.rc" gem "rails", "~>3.0.0.rc"
gem "compass-validator", "3.0.0" gem "compass-validator", "3.0.0"
gem "css_parser" gem "css_parser"

View File

@ -30,15 +30,11 @@ To run with an alternate version of Haml & Sass, make test/haml a symlink to tha
END END
begin begin
require 'spec/rake/spectask' require 'rspec/core/rake_task'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.spec_files = FileList['spec/**/*_spec.rb']
end
Spec::Rake::SpecTask.new(:rcov) do |spec| RSpec::Core::RakeTask.new(:spec)
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb' RSpec::Core::RakeTask.new(:rcov) do |spec|
spec.rcov = true spec.rcov = true
end end

View File

@ -1,4 +0,0 @@
--colour
--format s
--loadby mtime
--reverse

View File

@ -3,12 +3,8 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'rubygems' require 'rubygems'
require 'compass' require 'compass'
require 'spec' require 'rspec'
require 'spec/autorun' require 'rspec/autorun'
IMAGES_TMP_PATH = File.join(File.dirname(__FILE__), 'images-tmp') IMAGES_TMP_PATH = File.join(File.dirname(__FILE__), 'images-tmp')
Compass::Sprites.images_path = IMAGES_TMP_PATH Compass::Sprites.images_path = IMAGES_TMP_PATH
Spec::Runner.configure do |config|
end