spec/features/work_generator_spec.rb in hyrax-2.0.3 vs spec/features/work_generator_spec.rb in hyrax-2.1.0.beta1
- old
+ new
@@ -1,8 +1,8 @@
require 'rails/generators'
require 'redlock'
-RSpec.feature 'Creating a new Work' do
+RSpec.describe 'Creating a new Work' do
before do
Rails::Generators.invoke('hyrax:work', ['Catapult', '--quiet'], destination_root: Rails.root)
load "#{EngineCart.destination}/app/indexers/catapult_indexer.rb"
load "#{EngineCart.destination}/app/models/catapult.rb"
load "#{EngineCart.destination}/app/presenters/hyrax/catapult_presenter.rb"