test/keyword_args_test.rb in invokr-0.9.4 vs test/keyword_args_test.rb in invokr-0.9.5
- old
+ new
@@ -1,9 +1,9 @@
module KeywordArgsTest
class OptionalKeywordArgsTest < Minitest::Test
def setup
- skip unless RUBY_VERSION >= '2.0'
+ skip unless RUBY_VERSION >= '2.0' and RUBY_ENGINE == 'ruby'
end
def test_overriding_optional_keyword_argument
actual = Invokr.invoke(
method: :optional_keyword_argument,
@@ -46,10 +46,10 @@
end
end
class RequiredKeywordArgsTest < Minitest::Test
def setup
- skip unless RUBY_VERSION >= '2.1'
+ skip unless RUBY_VERSION >= '2.0' and RUBY_ENGINE == 'ruby'
end
def test_supplying_required_keyword_argument
actual = Invokr.invoke(
method: :required_keyword_argument,