Permalink
Browse files

rspec2

  • Loading branch information...
1 parent 9f41bc1 commit 458dd3239493182920377dd8de82b6d65f6a7567 @plukevdh plukevdh committed May 7, 2011
Showing with 2 additions and 6 deletions.
  1. +0 −2 Rakefile
  2. +2 −4 spec/spec_helper.rb
View
@@ -10,8 +10,6 @@ rescue LoadError => e
puts "RSpec not installed"
end
-task :spec => :check_dependencies
-
task :default => :spec
begin
View
@@ -1,12 +1,10 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-require 'rubygems'
require 'eeepub'
-require 'spec'
-require 'spec/autorun'
+require 'rspec'
require 'nokogiri'
require 'rr'
-Spec::Runner.configure do |config|
+RSpec.configure do |config|
config.mock_with :rr
end

0 comments on commit 458dd32

Please sign in to comment.