2019-07-25 05:24:42 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-09-22 04:42:52 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe 'User activates Emails on push' do
|
2020-04-06 09:09:17 +00:00
|
|
|
include_context 'project service activation'
|
2017-09-22 04:42:52 +00:00
|
|
|
|
2020-04-06 09:09:17 +00:00
|
|
|
it 'activates service', :js do
|
|
|
|
visit_project_integration('Emails on push')
|
2017-09-22 04:42:52 +00:00
|
|
|
fill_in('Recipients', with: 'qa@company.name')
|
2020-04-06 09:09:17 +00:00
|
|
|
|
|
|
|
click_test_integration
|
2017-09-22 04:42:52 +00:00
|
|
|
|
|
|
|
expect(page).to have_content('Emails on push activated.')
|
|
|
|
end
|
|
|
|
end
|