diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2012-03-21 04:27:31 -0700 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2012-03-21 04:27:31 -0700 |
commit | b474dd17d461f08f87c36b9b1610407a0563f321 (patch) | |
tree | 21423d3460c5ad395ddc6adcb135870b139fa3aa | |
parent | f7b956b02c8b14d63a100c9345b06133ecdd424a (diff) | |
parent | 79677cf11df012dd7643ad12cd8583ab85262588 (diff) | |
download | bacon-b474dd17d461f08f87c36b9b1610407a0563f321.tar.gz bacon-b474dd17d461f08f87c36b9b1610407a0563f321.tar.xz bacon-b474dd17d461f08f87c36b9b1610407a0563f321.zip |
Merge pull request #11 from cldwalker/fix_change_tests
Fix change tests for jruby and sometimes 1.8.7
-rw-r--r-- | .travis.yml | 7 | ||||
-rw-r--r-- | test/spec_bacon.rb | 4 |
2 files changed, 2 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml index 601fdf7..4cf6110 100644 --- a/.travis.yml +++ b/.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 diff --git a/test/spec_bacon.rb b/test/spec_bacon.rb index bd4cfbf..c14a180 100644 --- a/test/spec_bacon.rb +++ b/test/spec_bacon.rb @@ -71,7 +71,7 @@ describe "Bacon" do 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 @@ describe "Bacon" do 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 |