提交 ae1b96cf 编写于 作者: R Robin Dupret

Skip a few failing tests on JRuby with the attached tickets

上级 e5bfe714
......@@ -62,11 +62,15 @@ class ParametersMutatorsTest < ActiveSupport::TestCase
end
test "select! retains permitted status" do
jruby_skip "https://github.com/jruby/jruby/issues/3137"
@params.permit!
assert @params.select! { |k| k != "person" }.permitted?
end
test "select! retains unpermitted status" do
jruby_skip "https://github.com/jruby/jruby/issues/3137"
assert_not @params.select! { |k| k != "person" }.permitted?
end
......
......@@ -171,6 +171,8 @@ def test_response_body_encoding
end
test "read content type without charset" do
jruby_skip "https://github.com/jruby/jruby/issues/3138"
original = ActionDispatch::Response.default_charset
begin
ActionDispatch::Response.default_charset = 'utf-16'
......
......@@ -109,6 +109,8 @@ def test_with_an_invalid_concern_name
end
def test_concerns_executes_block_in_context_of_current_mapper
jruby_skip "https://github.com/jruby/jruby/issues/3143"
mapper = ActionDispatch::Routing::Mapper.new(ActionDispatch::Routing::RouteSet.new)
mapper.concern :test_concern do
resources :things
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册