user_views_services_spec.rb 793 Bytes
Newer Older
1 2 3 4 5 6 7
require 'spec_helper'

describe 'User views services' do
  let(:project) { create(:project) }
  let(:user) { create(:user) }

  before do
8
    project.add_maintainer(user)
9 10 11 12 13 14 15 16
    sign_in(user)

    visit(project_settings_integrations_path(project))
  end

  it 'shows the list of available services' do
    expect(page).to have_content('Project services')
    expect(page).to have_content('Campfire')
17
    expect(page).to have_content('HipChat')
18 19 20 21 22 23
    expect(page).to have_content('Assembla')
    expect(page).to have_content('Pushover')
    expect(page).to have_content('Atlassian Bamboo')
    expect(page).to have_content('JetBrains TeamCity')
    expect(page).to have_content('Asana')
    expect(page).to have_content('Irker (IRC gateway)')
24
    expect(page).to have_content('Packagist')
25 26
  end
end