Skip to content

Commit

Permalink
Adjusts the catalog show view feature test (exhibit factory slugs nee…
Browse files Browse the repository at this point in the history
…d to be explicitly given)
  • Loading branch information
jrgriffiniii committed Feb 19, 2019
1 parent 028af0e commit 274efc5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/features/catalog_show_spec.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
require 'rails_helper'

RSpec.describe 'Catalog', type: :feature, js: true do
let(:exhibit) { FactoryBot.create(:exhibit, title: 'Exhibit Title 1') }
let(:curator) { FactoryBot.create(:exhibit_curator, exhibit: exhibit) }
let(:exhibit) { FactoryBot.create(:exhibit, title: 'Exhibit Title 1', slug: 'exhibit-title-1') }
let(:admin) { FactoryBot.create(:exhibit_admin, exhibit: exhibit) }
let(:document_id) { '1r66j4408' }
let(:id) { Digest::MD5.hexdigest("#{exhibit.id}-#{document_id}") }
Expand Down

0 comments on commit 274efc5

Please sign in to comment.