mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Skip a few failing tests on JRuby with the attached tickets
This commit is contained in:
parent
e5bfe7149a
commit
ae1b96cfcd
3 changed files with 8 additions and 0 deletions
|
@ -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 @@ class ResponseTest < ActiveSupport::TestCase
|
|||
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 @@ class RoutingConcernsTest < ActionDispatch::IntegrationTest
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue