updated to rspec 2.0.0
This commit is contained in:
parent
aaffea49af
commit
f577da1d5e
2
Gemfile
2
Gemfile
@ -2,7 +2,7 @@ source :rubygems
|
||||
|
||||
gem "compass", :path => "."
|
||||
gem "cucumber"
|
||||
gem "rspec"
|
||||
gem "rspec", "~>2.0.0"
|
||||
gem "rails", "~>3.0.0.rc"
|
||||
gem "compass-validator", "3.0.0"
|
||||
gem "css_parser"
|
||||
|
12
Rakefile
12
Rakefile
@ -30,15 +30,11 @@ To run with an alternate version of Haml & Sass, make test/haml a symlink to tha
|
||||
END
|
||||
|
||||
begin
|
||||
require 'spec/rake/spectask'
|
||||
Spec::Rake::SpecTask.new(:spec) do |spec|
|
||||
spec.libs << 'lib' << 'spec'
|
||||
spec.spec_files = FileList['spec/**/*_spec.rb']
|
||||
end
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
||||
spec.libs << 'lib' << 'spec'
|
||||
spec.pattern = 'spec/**/*_spec.rb'
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
|
||||
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
||||
spec.rcov = true
|
||||
end
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
--colour
|
||||
--format s
|
||||
--loadby mtime
|
||||
--reverse
|
@ -3,12 +3,8 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
||||
|
||||
require 'rubygems'
|
||||
require 'compass'
|
||||
require 'spec'
|
||||
require 'spec/autorun'
|
||||
require 'rspec'
|
||||
require 'rspec/autorun'
|
||||
|
||||
IMAGES_TMP_PATH = File.join(File.dirname(__FILE__), 'images-tmp')
|
||||
Compass::Sprites.images_path = IMAGES_TMP_PATH
|
||||
|
||||
Spec::Runner.configure do |config|
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user