Permalink
Browse files

rspec2 final compatibility

  • Loading branch information...
1 parent 4a407ae commit 6c22ed78b2ccbf50bd4d2516edcabbd790a79105 @tylerkovacs tylerkovacs committed with Oct 11, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/ci/reporter/rspec.rb
View
@@ -5,9 +5,9 @@
require 'ci/reporter/core'
tried_gem = false
begin
- require 'spec'
- require 'spec/core/formatters/progress_formatter'
- require 'spec/core/formatters/base_formatter'
+ require 'rspec'
+ require 'rspec/core/formatters/progress_formatter'
+ require 'rspec/core/formatters/base_formatter'
rescue LoadError
unless tried_gem
tried_gem = true
@@ -145,7 +145,7 @@ def new_suite(name)
class RSpecDoc < RSpec
def initialize(*args)
- @formatter = Spec::Core::Formatters::SpecdocFormatter.new(*args)
+ @formatter = ::RSpec::Core::Formatters::SpecdocFormatter.new(*args)
super
end
end

0 comments on commit 6c22ed7

Please sign in to comment.