Skip to content

Commit

Permalink
Merge pull request #145 from ruby/workaround-for-rubinius
Browse files Browse the repository at this point in the history
Workaround for rubinius
  • Loading branch information
hsbt authored Jun 28, 2016
2 parents 6ac7afb + 6a94c54 commit 46da613
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ before_install:
before_script:
- unset JRUBY_OPTS
script: ruby -Ilib exe/rake
matrix:
allow_failures:
- rvm: jruby-head
- rvm: rbx
- rvm: rbx-2
notifications:
email:
- [email protected]
Expand Down
4 changes: 4 additions & 0 deletions test/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,9 @@ def jruby9?
jruby? && (JRUBY_VERSION >= '9.0.0.0')
end

def rbx?
RUBY_ENGINE == 'rbx'
end

include RakefileDefinitions
end
1 change: 1 addition & 0 deletions test/test_private_reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def setup
end

def test_private_reader_is_private
skip if rbx?
assert_private do @sample.reader end
assert_private do @sample.a end
end
Expand Down

0 comments on commit 46da613

Please sign in to comment.