diff --git a/spec/controllers/api/sync_controller_spec.rb b/spec/controllers/api/sync_controller_spec.rb index f34878a..c070b6e 100644 --- a/spec/controllers/api/sync_controller_spec.rb +++ b/spec/controllers/api/sync_controller_spec.rb @@ -94,7 +94,7 @@ RSpec.describe Api::SyncController, type: :controller do expect(appearance_releases.first).to include('guardian_photo') expect(talent_releases.first).to include('guardian_photo') expect(location_releases.first).not_to include('guardian_photo') - expect(material_releases.first).not_to include('guardian_photo') + expect(material_releases.first).to include('guardian_photo') end it 'guardian photo has same format as other photos' do diff --git a/spec/features/user_manages_contract_templates_spec.rb b/spec/features/user_manages_contract_templates_spec.rb index 48ba336..340663f 100644 --- a/spec/features/user_manages_contract_templates_spec.rb +++ b/spec/features/user_manages_contract_templates_spec.rb @@ -178,7 +178,7 @@ RSpec.feature 'User manages contract templates', type: :feature do expect(content_disposition).to include('inline') expect(pdf_body).to have_content('PREVIEW ONLY') expect(pdf_body).to have_content('Material Release') - expect(pdf_body).not_to have_content('Guardian') + expect(pdf_body).to have_content('Guardian') end context 'preventing creation of release template with wrong fee value' do