fix spec
This commit is contained in:
@@ -160,7 +160,7 @@ RSpec.feature 'User manages contract templates', type: :feature do
|
|||||||
expect(content_disposition).to include('inline')
|
expect(content_disposition).to include('inline')
|
||||||
expect(pdf_body).to have_content('PREVIEW ONLY')
|
expect(pdf_body).to have_content('PREVIEW ONLY')
|
||||||
expect(pdf_body).to have_content('Acquired Media Release')
|
expect(pdf_body).to have_content('Acquired Media Release')
|
||||||
expect(pdf_body).not_to have_content('Guardian')
|
expect(pdf_body).to have_content('Guardian')
|
||||||
|
|
||||||
visit new_project_contract_template_path(project)
|
visit new_project_contract_template_path(project)
|
||||||
select 'Location Release', from: 'Release type'
|
select 'Location Release', from: 'Release type'
|
||||||
|
|||||||
Reference in New Issue
Block a user