Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Fix spec for RSpec 1.0.8 compatibility

- Fix timing specs for JRuby compatibility


git-svn-id: http://svn.caldersphere.net/svn/main/rubyforge/ci_reporter/trunk@120 b03c2d0b-2f10-0410-a2f9-fc8001506dfa
  • Loading branch information...
commit f3f5ca04eeea338c5ea067ee416073bebb1fdb4d 1 parent f4b7a3e
@nicksieger nicksieger authored
View
1  spec/ci/reporter/rspec_spec.rb
@@ -16,6 +16,7 @@
end
end
@error.stub!(:expectation_not_met?).and_return(false)
+ @error.stub!(:pending_fixed?).and_return(false)
@report_mgr = mock("report manager")
@fmt = CI::Reporter::RSpec.new(StringIO.new(""), false, false, @report_mgr)
end
View
4 spec/ci/reporter/test_suite_spec.rb
@@ -13,7 +13,7 @@
it "should collect timings when start and finish are invoked in sequence" do
@suite.start
@suite.finish
- @suite.time.should > 0
+ @suite.time.should >= 0
end
it "should aggregate tests" do
@@ -145,6 +145,6 @@ def name.to_s; "object name"; end
it "should collect timings when start and finish are invoked in sequence" do
@tc.start
@tc.finish
- @tc.time.should > 0
+ @tc.time.should >= 0
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.