Skip to content

Commit

Permalink
updated to rspec 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenburger authored and chriseppstein committed Nov 28, 2010
1 parent fdef9d4 commit c175630
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 19 deletions.
2 changes: 2 additions & 0 deletions .rspec
@@ -0,0 +1,2 @@
--colour
--format s
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -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"
Expand Down
12 changes: 4 additions & 8 deletions Rakefile
Expand Up @@ -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'

RSpec::Core::RakeTask.new(:spec)

Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
RSpec::Core::RakeTask.new(:rcov) do |spec|
spec.rcov = true
end

Expand Down
4 changes: 0 additions & 4 deletions spec/spec.opts

This file was deleted.

8 changes: 2 additions & 6 deletions spec/spec_helper.rb
Expand Up @@ -3,12 +3,8 @@

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

0 comments on commit c175630

Please sign in to comment.