Permalink
Browse files

Updated to work with RSpec 2.0.0.beta.22

  • Loading branch information...
1 parent cc7897c commit 68c0e47c678661ab862b589724b88180a12c2486 @glv committed Sep 13, 2010
Showing with 14 additions and 23 deletions.
  1. +2 −2 Gemfile
  2. +12 −10 Gemfile.lock
  3. +0 −11 lib/rspec/unit/test_case.rb
View
@@ -1,11 +1,11 @@
source :gemcutter
# gem 'bundler', '>= 0.9.16'
-gem 'rspec', '= 2.0.0.beta.20'
+gem 'rspec', '= 2.0.0.beta.22'
group :test do
gem 'rake', '>= 0.8.7'
- gem 'rcov'
+ gem 'rcov', '>= 0.9.9'
end
group :release do
View
@@ -10,15 +10,17 @@ GEM
rubyforge (>= 2.0.0)
json_pure (1.4.6)
rake (0.8.7)
- rcov (0.9.8)
- rspec (2.0.0.beta.20)
- rspec-core (= 2.0.0.beta.20)
- rspec-expectations (= 2.0.0.beta.20)
- rspec-mocks (= 2.0.0.beta.20)
- rspec-core (2.0.0.beta.20)
- rspec-expectations (2.0.0.beta.20)
+ rcov (0.9.9)
+ rspec (2.0.0.beta.22)
+ rspec-core (= 2.0.0.beta.22)
+ rspec-expectations (= 2.0.0.beta.22)
+ rspec-mocks (= 2.0.0.beta.22)
+ rspec-core (2.0.0.beta.22)
+ rspec-expectations (2.0.0.beta.22)
diff-lcs (>= 1.1.2)
- rspec-mocks (2.0.0.beta.20)
+ rspec-mocks (2.0.0.beta.22)
+ rspec-core (= 2.0.0.beta.22)
+ rspec-expectations (= 2.0.0.beta.22)
rubyforge (2.0.4)
json_pure (>= 1.1.7)
@@ -28,5 +30,5 @@ PLATFORMS
DEPENDENCIES
jeweler (>= 1.4.0)
rake (>= 0.8.7)
- rcov
- rspec (= 2.0.0.beta.20)
+ rcov (>= 0.9.9)
+ rspec (= 2.0.0.beta.22)
@@ -6,11 +6,6 @@ module Core
class ExampleGroup
include ::RSpec::Unit::Assertions
end
-
- class <<Runner
- alias :rspec_unit_original_installed_at_exit? :installed_at_exit?
- def installed_at_exit?; true; end
- end
end
module Unit
@@ -197,10 +192,4 @@ def uniq
RSpec.world.example_groups.delete(::RSpec::Unit::TestCase)
end
- module Core
- class <<Runner
- alias :installed_at_exit? :rspec_unit_original_installed_at_exit?
- remove_method :rspec_unit_original_installed_at_exit?
- end
- end
end

0 comments on commit 68c0e47

Please sign in to comment.