aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2015-05-10 09:47:05 -0700
committerclaudiob <claudiob@gmail.com>2015-05-10 16:24:46 -0700
commit58fc63fd969728f4c89ab7930c42acf457047b73 (patch)
treee59ec535a5b3ae0467af9e6d20c71825c61c01b8 /activemodel
parentee440b6ebde7a5f5a53ff848383f2b847ad44a36 (diff)
downloadrails-58fc63fd969728f4c89ab7930c42acf457047b73.tar.gz
rails-58fc63fd969728f4c89ab7930c42acf457047b73.tar.bz2
rails-58fc63fd969728f4c89ab7930c42acf457047b73.zip
Stop skipping a test that now works on Rubinius
The test was skipped because of an issue that, in the meantime, has been fixed: https://github.com/rubinius/rubinius/issues/3328. Using the latest Rubinius (the one currently on Travis CI), this is the result: ```sh $ ruby --version rubinius 2.5.3 (2.1.0 2482b093 2015-05-10 3.5.1 JI) [x86_64-darwin14.3.0] ``` **Before this PR** ```sh $ ruby -Itest test/cases/attribute_assignment_test.rb Run options: --seed 58569 .....S... Finished in 0.048278s, 186.4203 runs/s, 269.2738 assertions/s. 9 runs, 13 assertions, 0 failures, 0 errors, 1 skips You have skipped tests. Run with --verbose for details. ``` **After this PR** $ ruby -Itest test/cases/attribute_assignment_test.rb Run options: --seed 35720 ......... Finished in 0.029441s, 305.6961 runs/s, 475.5273 assertions/s. 9 runs, 14 assertions, 0 failures, 0 errors, 0 skips ```
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/test/cases/attribute_assignment_test.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activemodel/test/cases/attribute_assignment_test.rb b/activemodel/test/cases/attribute_assignment_test.rb
index 3b01644dd1..64a85e01eb 100644
--- a/activemodel/test/cases/attribute_assignment_test.rb
+++ b/activemodel/test/cases/attribute_assignment_test.rb
@@ -58,8 +58,6 @@ 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::UnknownAttributeError) do
model.assign_attributes(metadata: { a: 1 })