diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-23 20:35:30 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-23 20:35:30 -0800 |
commit | 67198a80801c560282d84dfc6efbd6e3a04ca67a (patch) | |
tree | 2dd51bd09f439688651affacdd76ab540ebfb973 /spec/features | |
parent | 23eb274ee021cf356efc09ac65f9fd4629ddd83c (diff) | |
download | gitlab-ci-67198a80801c560282d84dfc6efbd6e3a04ca67a.tar.gz |
Refactor help text and remove integration page
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/projects_spec.rb | 9 | ||||
-rw-r--r-- | spec/features/runners_spec.rb | 17 |
2 files changed, 17 insertions, 9 deletions
diff --git a/spec/features/projects_spec.rb b/spec/features/projects_spec.rb index 269f273..7d92a19 100644 --- a/spec/features/projects_spec.rb +++ b/spec/features/projects_spec.rb @@ -44,13 +44,4 @@ describe "Projects" do it { page.should have_content 'Builds chart for last year' } it { page.should have_content 'Commit duration in minutes for last 30 commits' } end - - describe "GET /projects/:id/details" do - before do - visit integration_project_path(@project) - end - - it { page.should have_content @project.name } - it { page.should have_content 'Integration with GitLab' } - end end diff --git a/spec/features/runners_spec.rb b/spec/features/runners_spec.rb new file mode 100644 index 0000000..888b202 --- /dev/null +++ b/spec/features/runners_spec.rb @@ -0,0 +1,17 @@ +require 'spec_helper' + +describe "Runners" do + before do + login_as :user + @project = FactoryGirl.create :project + end + + describe "GET /projects/:id/runners" do + before do + visit project_runners_path(@project) + end + + it { page.should have_content @project.name } + it { page.should have_content 'How to setup a new project specific runner' } + end +end |