lib/seedbank/dsl.rb in seedbank-0.0.4 vs lib/seedbank/dsl.rb in seedbank-0.0.5
- old
+ new
@@ -15,10 +15,10 @@
scopes = File.dirname(relative_root).gsub(/^\./, '').split('/').unshift('seed')
fq_name = scopes.push(File.basename(seed_file, '.seeds.rb')).join(':')
args = { fq_name => 'db:abort_if_pending_migrations' }
task = Rake::Task.define_task(args) { load(seed_file) if File.exist?(seed_file) }
- task.add_description "Loads seeds from #{relative_root}"
+ task.add_description "Load the seed data from #{seed_file}"
fq_name
end
def seeds_root
Seedbank.seeds_root
\ No newline at end of file