mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix a failure and some warnings on 1.9.2 [#4417 state:resolved]
Signed-off-by: Xavier Noria <fxn@hashref.com>
This commit is contained in:
parent
9c08ccd889
commit
779723a0b4
2 changed files with 2 additions and 2 deletions
|
@ -2054,7 +2054,7 @@ class BasicsTest < ActiveRecord::TestCase
|
|||
end
|
||||
|
||||
def test_base_subclasses_is_public_method
|
||||
assert ActiveRecord::Base.public_methods.include?("subclasses")
|
||||
assert ActiveRecord::Base.public_methods.map(&:to_sym).include?(:subclasses)
|
||||
end
|
||||
|
||||
def test_find_on_abstract_base_class_doesnt_use_type_condition
|
||||
|
|
|
@ -26,7 +26,7 @@ class FixturesTest < ActiveRecord::TestCase
|
|||
FIXTURES = %w( accounts binaries companies customers
|
||||
developers developers_projects entrants
|
||||
movies projects subscribers topics tasks )
|
||||
MATCH_ATTRIBUTE_NAME = /[a-zA-Z][-_\w]*/
|
||||
MATCH_ATTRIBUTE_NAME = /[a-zA-Z][-\w]*/
|
||||
|
||||
def test_clean_fixtures
|
||||
FIXTURES.each do |name|
|
||||
|
|
Loading…
Reference in a new issue