Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #11 from cldwalker/fix_change_tests

Fix change tests for jruby and sometimes 1.8.7
  • Loading branch information...
commit b474dd17d461f08f87c36b9b1610407a0563f321 2 parents f7b956b + 79677cf
@chneukirchen authored
Showing with 2 additions and 9 deletions.
  1. +0 −7 .travis.yml
  2. +2 −2 test/spec_bacon.rb
View
7 .travis.yml
@@ -10,10 +10,3 @@ rvm:
notifications:
recipients:
- gabriel.horner@gmail.com
-matrix:
- # until issues are fixed
- allow_failures:
- - rvm: rbx-18mode
- - rvm: rbx-19mode
- - rvm: jruby-18mode
- - rvm: jruby-19mode
View
4 test/spec_bacon.rb
@@ -71,7 +71,7 @@ def equal_string(x)
end
it "should have should.change" do
- lambda { lambda {}.should.change { Time.now } }.should succeed
+ lambda { lambda {}.should.change { sleep 0.001; Time.now } }.should succeed
lambda {
i = 1
@@ -83,7 +83,7 @@ def equal_string(x)
lambda { i *= 2 }.should.change { i }
}.should fail
- lambda { should.change { Time.now } }.should succeed
+ lambda { should.change { sleep 0.001; Time.now } }.should succeed
lambda { should.change { 42 } }.should fail
end
Please sign in to comment.
Something went wrong with that request. Please try again.