Project

General

Profile

« Previous | Next » 

Revision b5eca9b3

Added by Michael Moll almost 6 years ago

Fixes #23962 - Fix Style/ExpandPathArguments cop

View differences:

test/unit/tasks/seeds_test.rb
def seed
# Authorisation is disabled usually when run from a rake db:* task
as_admin do
load File.expand_path('../../../../db/seeds.rb', __FILE__)
load File.expand_path('../../../db/seeds.rb', __dir__)
end
end

Also available in: Unified diff