Skip to content
Browse files

rspec2 final compatibility

  • Loading branch information...
1 parent 7055458 commit 9b5db210601147d8a41cf341291ca3073c635fc2 @tylerkovacs tylerkovacs committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/ci/reporter/rspec.rb
View
8 lib/ci/reporter/rspec.rb
@@ -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
@@ -143,7 +143,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 9b5db21

Please sign in to comment.
Something went wrong with that request. Please try again.