Skip to content

Commit

Permalink
Ruby 2.x: Skip rss test not only for Ruby 1.9, but also 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ngiger committed Dec 15, 2015
1 parent 17e3455 commit b6d5332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_plugin/rss.rb
Expand Up @@ -216,7 +216,7 @@ def test_hpc_example
end
def test_swissmedic_entries_of__with_hpc
setup_marktueberwachung
if /^1\.9/.match(RUBY_VERSION)
if /^1\.9|^2/.match(RUBY_VERSION)
skip("Avoid ArgumentError: invalid byte sequence in US-ASCII")
else
index_hpc = Mechanize.new().get('file://'+@index_hpc)
Expand Down

0 comments on commit b6d5332

Please sign in to comment.