Commit 790d7cce authored by ubudzisz's avatar ubudzisz

improve code after review

parent 691644dc
No related merge requests found
......@@ -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|
......
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment