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
def test_async_stream
rubinius_skip "https://github.com/rubinius/rubinius/issues/2934"
@controller.latch = ActiveSupport::Concurrency::Latch.new
parts = ['hello', 'world']

View File

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

View File

@ -9,6 +9,9 @@ class DuplicableTest < ActiveSupport::TestCase
ALLOW_DUP << BigDecimal.new('4.56')
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|
assert !v.duplicable?
assert_raises(TypeError, v.class.name) { v.dup }

View File

@ -130,6 +130,8 @@ class TestJSONEncoding < ActiveSupport::TestCase
end
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
# creating a child process, hence this to populate $?
system("not_a_real_program_#{SecureRandom.hex}")