diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-13 16:51:13 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-14 12:56:52 +0200 |
commit | 33c9d6e45c0800fd5a312af2c286826764fd7589 (patch) | |
tree | 79fc6ac7c69516e6f33d5f21539d5e8517072831 /spec/features/commits_spec.rb | |
parent | 82da19cecd6390d2372bad36da0a9f89b21abb38 (diff) | |
download | gitlab-ce-33c9d6e45c0800fd5a312af2c286826764fd7589.tar.gz |
Fix retry and cancel for buildfix-retry-and-cancel
Diffstat (limited to 'spec/features/commits_spec.rb')
-rw-r--r-- | spec/features/commits_spec.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/spec/features/commits_spec.rb b/spec/features/commits_spec.rb index cbb6360069b..1adc2cdf70a 100644 --- a/spec/features/commits_spec.rb +++ b/spec/features/commits_spec.rb @@ -29,9 +29,17 @@ describe "Commits" do it { expect(page).to have_content @commit.git_author_name } end - describe "Cancel commit" do + describe "Cancel all builds" do it "cancels commit" do visit ci_status_path(@commit) + click_on "Cancel all" + expect(page).to have_content "canceled" + end + end + + describe "Cancel build" do + it "cancels build" do + visit ci_status_path(@commit) click_on "Cancel" expect(page).to have_content "canceled" end |