Commit b4e6aa3b536e00d995288f900c0e98cc596c66ba
1 parent
c9fefc28
Exists in
staging
and in
39 other branches
rails4: assert_block was deprecated
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/test_helper.rb
... | ... | @@ -90,7 +90,7 @@ class ActiveSupport::TestCase |
90 | 90 | super(path, (parameters ? self.class.extra_parameters.merge(parameters) : self.class.extra_parameters), headers) |
91 | 91 | end |
92 | 92 | |
93 | - alias :ok :assert_block | |
93 | + alias_method :ok, :assert | |
94 | 94 | |
95 | 95 | def assert_equivalent(enum1, enum2) |
96 | 96 | assert( ((enum1 - enum2) == []) && ((enum2 - enum1) == []), "<#{enum1.inspect}> expected to be equivalent to <#{enum2.inspect}>") | ... | ... |