diff options
author | Takuya Noguchi <tak.noguchi.iridge@gmail.com> | 2016-05-11 23:46:19 +0900 |
---|---|---|
committer | Takuya Noguchi <tak.noguchi.iridge@gmail.com> | 2016-05-13 01:28:55 +0900 |
commit | 18fdbf0a035b6feec3b576c01ee1a2f3a95e4305 (patch) | |
tree | 48c31ad39c14b9051e63eb6e11f7d81a08775697 /spec | |
parent | 95163307ae0c363d309b02c624c40b1ad9a03f06 (diff) | |
download | gitlab-ce-18fdbf0a035b6feec3b576c01ee1a2f3a95e4305.tar.gz |
Fix a description for default scope on builds
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/admin/admin_builds_spec.rb | 1 | ||||
-rw-r--r-- | spec/features/builds_spec.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/admin/admin_builds_spec.rb b/spec/features/admin/admin_builds_spec.rb index 2e9851fb442..7bbe20fec43 100644 --- a/spec/features/admin/admin_builds_spec.rb +++ b/spec/features/admin/admin_builds_spec.rb @@ -19,6 +19,7 @@ describe 'Admin Builds' do visit admin_builds_path expect(page).to have_selector('.nav-links li.active', text: 'All') + expect(page).to have_selector('.row-content-block', text: 'All builds') expect(page.all('.build-link').size).to eq(4) expect(page).to have_link 'Cancel all' end diff --git a/spec/features/builds_spec.rb b/spec/features/builds_spec.rb index 090a941958f..f83a78308e3 100644 --- a/spec/features/builds_spec.rb +++ b/spec/features/builds_spec.rb @@ -43,6 +43,7 @@ describe "Builds" do end it { expect(page).to have_selector('.nav-links li.active', text: 'All') } + it { expect(page).to have_selector('.row-content-block', text: 'All builds from this project') } it { expect(page).to have_content @build.short_sha } it { expect(page).to have_content @build.ref } it { expect(page).to have_content @build.name } |