Sha256: f7b75aa70780b59990b4005b90f102ede14519671e2f77f19d8c82a2516b544f
Contents?: true
Size: 825 Bytes
Versions: 34
Compression:
Stored size: 825 Bytes
Contents
# -*- encoding : utf-8 -*- require 'rails/generators' require 'rails/generators/migration' module Hydra class HyheadFixturesGenerator < Rails::Generators::Base source_root File.expand_path('../../../../', __FILE__) desc """ This Generator copies the hydra-head sample/test objects into your application's test_support/fixtures directory These objects are useful for getting a sense of how hydra works, but you will want to delete them and create your own fixtures to run your application's tests against. After running this generator, you can import your fixtures into fedora & solr by running rake hydra:fixtures:refresh rake hydra:fixtures:refresh RAILS_ENV=test """ def copy_hyhead_fixtures directory("test_support/fixtures", "test_support/fixtures") end end end
Version data entries
34 entries across 34 versions & 1 rubygems