Skip to content

Commit 7118647

Browse files
committed
Remove deprecated assertion
1 parent fc3c788 commit 7118647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/controllers/assigns_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def test_assigns
1919
def test_view_assigns
2020
@controller = ViewAssignsController.new
2121
process :test_assigns
22-
assert_equal nil, assigns(:foo)
23-
assert_equal nil, assigns[:foo]
22+
assert_nil assigns(:foo)
23+
assert_nil assigns[:foo]
2424
assert_equal "bar", assigns(:bar)
2525
assert_equal "bar", assigns[:bar]
2626
end

0 commit comments

Comments
 (0)