Permalink
Browse files

Merge pull request #29347 from prathamesh-sonpatki/rm-assert-nothin-r…

…aised

Remove assert_nothing_raised, as test is already testing the required concerns
  • Loading branch information...
eileencodes committed Jun 4, 2017
2 parents e95d2a0 + 50a3d5a commit 7a443756fe78e44ee32226085147fc9bf6df6add
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/test/cases/adapters/postgresql/uuid_test.rb
@@ -64,11 +64,11 @@ def test_change_column_default
end
def test_add_column_with_null_true_and_default_nil
assert_nothing_raised do
connection.add_column :uuid_data_type, :thingy, :uuid, null: true, default: nil
end
connection.add_column :uuid_data_type, :thingy, :uuid, null: true, default: nil
UUIDType.reset_column_information
column = UUIDType.columns_hash["thingy"]
assert column.null
assert_nil column.default
end

0 comments on commit 7a44375

Please sign in to comment.