improve code after review

This commit is contained in:
ubudzisz 2016-09-06 11:49:40 +02:00
parent 691644dc5b
commit 790d7cce96
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@
- if @build.trigger_request.variables
%p
.btn.group.btn-group-justified.reveal-variables Reveal Variables
%button.btn.group.btn-group-justified.reveal-variables Reveal Variables
- @build.trigger_request.variables.each do |key, value|

View File

@ -177,7 +177,7 @@ describe "Builds" do
expect(page).not_to have_css('.js-build-variable')
expect(page).not_to have_css('.js-build-value')
find('.reveal-variables').click
click_button 'Reveal Variables'
expect(page).not_to have_css('.reveal-variables')
expect(page).to have_selector('.js-build-variable', text: 'TRIGGER_KEY_1')