forked from fixin.me/fixin.me
Improve tests, extend fixtures
This commit is contained in:
@@ -115,7 +115,7 @@ class ActiveSupport::TestCase
|
||||
yield(ActionMailer::Base.deliveries.last)
|
||||
end
|
||||
|
||||
def column_title(attribute)
|
||||
def column(attribute)
|
||||
model = self.class.name.delete_suffix('Test').singularize.constantize
|
||||
model.human_attribute_name(attribute)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user