spec/views/hyrax/base/file_manager.html.erb_spec.rb in hyrax-1.1.1 vs spec/views/hyrax/base/file_manager.html.erb_spec.rb in hyrax-2.0.0.beta1
- old
+ new
@@ -1,7 +1,5 @@
-require 'spec_helper'
-
RSpec.describe "hyrax/base/file_manager.html.erb" do
let(:members) { [file_set, member] }
let(:file_set) { Hyrax::FileSetPresenter.new(solr_doc, nil) }
let(:member) { Hyrax::WorkShowPresenter.new(solr_doc_work, nil) }
let(:solr_doc) do
@@ -22,10 +20,10 @@
thumbnail_path_ss: "/test/image/path.jpg",
label_tesim: ["work"]
)
)
end
- let(:resource) { FactoryBot.build(:file_set) }
+ let(:resource) { FactoryGirl.build(:file_set) }
let(:parent) { build(:generic_work) }
let(:form) do
Hyrax::Forms::FileManagerForm.new(parent, nil)