spec/helpers/hyrax/trophy_helper_spec.rb in hyrax-2.0.0.rc1 vs spec/helpers/hyrax/trophy_helper_spec.rb in hyrax-2.0.0.rc2

- old
+ new

@@ -1,7 +1,7 @@ RSpec.describe Hyrax::TrophyHelper, type: :helper do describe "#display_trophy_link" do - let(:user) { FactoryGirl.create(:user) } + let(:user) { FactoryBot.create(:user) } let(:id) { '9999' } let(:text_attributes) { '[data-add-text="Highlight Work on Profile"][data-remove-text="Unhighlight Work"]' } let(:url_attribute) { "[data-url=\"/works/#{id}/trophy\"]" }