1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Skip the failing tests on Rubinius for now

This commit is contained in:
Robin Dupret 2015-03-02 17:14:45 +01:00
parent 6b1ec17526
commit 562b0b2368
4 changed files with 9 additions and 0 deletions

View file

@ -276,6 +276,8 @@ module ActionController
end end
def test_async_stream def test_async_stream
rubinius_skip "https://github.com/rubinius/rubinius/issues/2934"
@controller.latch = ActiveSupport::Concurrency::Latch.new @controller.latch = ActiveSupport::Concurrency::Latch.new
parts = ['hello', 'world'] parts = ['hello', 'world']

View file

@ -58,6 +58,8 @@ class AttributeAssignmentTest < ActiveModel::TestCase
end end
test "assign private attribute" do test "assign private attribute" do
rubinius_skip "https://github.com/rubinius/rubinius/issues/3328"
model = Model.new model = Model.new
assert_raises(ActiveModel::AttributeAssignment::UnknownAttributeError) do assert_raises(ActiveModel::AttributeAssignment::UnknownAttributeError) do
model.assign_attributes(metadata: { a: 1 }) model.assign_attributes(metadata: { a: 1 })

View file

@ -9,6 +9,9 @@ class DuplicableTest < ActiveSupport::TestCase
ALLOW_DUP << BigDecimal.new('4.56') ALLOW_DUP << BigDecimal.new('4.56')
def test_duplicable def test_duplicable
rubinius_skip "* Method#dup is allowed at the moment on Rubinius\n" \
"* https://github.com/rubinius/rubinius/issues/3089"
RAISE_DUP.each do |v| RAISE_DUP.each do |v|
assert !v.duplicable? assert !v.duplicable?
assert_raises(TypeError, v.class.name) { v.dup } assert_raises(TypeError, v.class.name) { v.dup }

View file

@ -130,6 +130,8 @@ class TestJSONEncoding < ActiveSupport::TestCase
end end
def test_process_status def test_process_status
rubinius_skip "https://github.com/rubinius/rubinius/issues/3334"
# There doesn't seem to be a good way to get a handle on a Process::Status object without actually # There doesn't seem to be a good way to get a handle on a Process::Status object without actually
# creating a child process, hence this to populate $? # creating a child process, hence this to populate $?
system("not_a_real_program_#{SecureRandom.hex}") system("not_a_real_program_#{SecureRandom.hex}")