Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6325 from kennyj/fix_5832-3

Remove unnecessary assertions.
  • Loading branch information...
commit 6f226e016066c88f2d6a952c37319c23bd8d7bfe 2 parents bc4ebaf + 53debf1
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 activerecord/test/cases/base_test.rb
View
6 activerecord/test/cases/base_test.rb
@@ -1514,11 +1514,7 @@ def test_clear_cash_when_setting_table_name
after_seq = Joke.sequence_name
assert_not_equal before_columns, after_columns
- unless before_seq.nil? && after_seq.nil?
- assert_not_equal before_seq, after_seq
- assert_equal "cold_jokes_id_seq", before_seq
- assert_equal "funny_jokes_id_seq", after_seq
- end
+ assert_not_equal before_seq, after_seq unless before_seq.nil? && after_seq.nil?
end
def test_dont_clear_sequence_name_when_setting_explicitly
Please sign in to comment.
Something went wrong with that request. Please try again.