Skip to content

Commit

Permalink
fix a failure and some warnings on 1.9.2 [#4417 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Noria <fxn@hashref.com>
  • Loading branch information
tenderlove authored and fxn committed Apr 16, 2010
1 parent 9c08ccd commit 779723a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion activerecord/test/cases/base_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2054,7 +2054,7 @@ def test_descends_from_active_record
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
Expand Down
2 changes: 1 addition & 1 deletion activerecord/test/cases/fixtures_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit 779723a

Please sign in to comment.