Skip to content

Commit

Permalink
Fixing test comparison for Jruby, and attepting to fix travis seg faults
Browse files Browse the repository at this point in the history
  • Loading branch information
samlown committed Jan 12, 2016
1 parent dbafa53 commit 8445636
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rvm:
- 2.3.0
- 2.2.0
- 2.1.0
- 2.2.2
- 2.1.5
- 2.0.0
- jruby-19mode
services: couchdb
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def set_name; self.name = "foobar"; end
it "should automatically call a proc default at initialization" do
@obj.set_by_proc.should be_an_instance_of(Time)
@obj.set_by_proc.should == @obj.set_by_proc
@obj.set_by_proc.should < Time.now
expect(@obj.set_by_proc.utc).to be < Time.now.utc
end

it "should let you overwrite the default values" do
Expand Down

0 comments on commit 8445636

Please sign in to comment.