fix MR comments
This commit is contained in:
@@ -341,11 +341,11 @@ en:
|
|||||||
notice: The release has been updated
|
notice: The release has been updated
|
||||||
helpers:
|
helpers:
|
||||||
help:
|
help:
|
||||||
task_request:
|
|
||||||
time_allowed: Minimum of 2 hours, no partial hours allowed
|
|
||||||
contract_template:
|
contract_template:
|
||||||
fee: Leave at $0.00 for no-fee
|
fee: Leave at $0.00 for no-fee
|
||||||
guardian_clause: Leave blank if not required for this contract
|
guardian_clause: Leave blank if not required for this contract
|
||||||
|
task_request:
|
||||||
|
time_allowed: Minimum of 2 hours, no partial hours allowed
|
||||||
video:
|
video:
|
||||||
audio_only_edl_file: If you do not upload an Audio Only EDL, the software will not generate a BiG Music Cue Sheet.
|
audio_only_edl_file: If you do not upload an Audio Only EDL, the software will not generate a BiG Music Cue Sheet.
|
||||||
edl_file: Please follow our directions on exporting the All Tracks EDL. Failure to do so could result in inaccurate and incomplete reporting.
|
edl_file: Please follow our directions on exporting the All Tracks EDL. Failure to do so could result in inaccurate and incomplete reporting.
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ RSpec.feature 'User manages contract templates', type: :feature do
|
|||||||
visit project_contract_templates_path(project)
|
visit project_contract_templates_path(project)
|
||||||
|
|
||||||
expect(page).to have_content schedule_demo
|
expect(page).to have_content schedule_demo
|
||||||
|
expect(page).to have_content create_release_template
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario 'creating a new release template' do
|
scenario 'creating a new release template' do
|
||||||
@@ -236,6 +237,13 @@ RSpec.feature 'User manages contract templates', type: :feature do
|
|||||||
expect(page).not_to have_content(import_template_button)
|
expect(page).not_to have_content(import_template_button)
|
||||||
expect(page).not_to have_content('Delete')
|
expect(page).not_to have_content('Delete')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it 'does not show create release button on splash page' do
|
||||||
|
visit project_contract_templates_path(project)
|
||||||
|
|
||||||
|
expect(page).to have_content schedule_demo
|
||||||
|
expect(page).not_to have_content create_release_template
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'When the user is account manager' do
|
context 'When the user is account manager' do
|
||||||
@@ -249,6 +257,13 @@ RSpec.feature 'User manages contract templates', type: :feature do
|
|||||||
click_on 'Manage'
|
click_on 'Manage'
|
||||||
expect(page).to have_content('Archive')
|
expect(page).to have_content('Archive')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it 'does not show create release button on splash page' do
|
||||||
|
visit project_contract_templates_path(project)
|
||||||
|
|
||||||
|
expect(page).to have_content schedule_demo
|
||||||
|
expect(page).to have_content create_release_template
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
@@ -284,4 +299,8 @@ RSpec.feature 'User manages contract templates', type: :feature do
|
|||||||
def schedule_demo
|
def schedule_demo
|
||||||
t 'contract_templates.splash.actions.book_demo'
|
t 'contract_templates.splash.actions.book_demo'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def create_release_template
|
||||||
|
t 'contract_templates.splash.actions.create_template'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user