1
0
Fork 0
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:
Robin Dupret 2015-07-17 15:00:00 +02:00
parent e5bfe7149a
commit ae1b96cfcd
3 changed files with 8 additions and 0 deletions

View file

@ -62,11 +62,15 @@ class ParametersMutatorsTest < ActiveSupport::TestCase
end end
test "select! retains permitted status" do test "select! retains permitted status" do
jruby_skip "https://github.com/jruby/jruby/issues/3137"
@params.permit! @params.permit!
assert @params.select! { |k| k != "person" }.permitted? assert @params.select! { |k| k != "person" }.permitted?
end end
test "select! retains unpermitted status" do test "select! retains unpermitted status" do
jruby_skip "https://github.com/jruby/jruby/issues/3137"
assert_not @params.select! { |k| k != "person" }.permitted? assert_not @params.select! { |k| k != "person" }.permitted?
end end

View file

@ -171,6 +171,8 @@ class ResponseTest < ActiveSupport::TestCase
end end
test "read content type without charset" do test "read content type without charset" do
jruby_skip "https://github.com/jruby/jruby/issues/3138"
original = ActionDispatch::Response.default_charset original = ActionDispatch::Response.default_charset
begin begin
ActionDispatch::Response.default_charset = 'utf-16' ActionDispatch::Response.default_charset = 'utf-16'

View file

@ -109,6 +109,8 @@ class RoutingConcernsTest < ActionDispatch::IntegrationTest
end end
def test_concerns_executes_block_in_context_of_current_mapper 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 = ActionDispatch::Routing::Mapper.new(ActionDispatch::Routing::RouteSet.new)
mapper.concern :test_concern do mapper.concern :test_concern do
resources :things resources :things