Skip to content

Commit

Permalink
Updates helper to click on css element...
Browse files Browse the repository at this point in the history
...instead of passing empty_keys
  • Loading branch information
filipefurtad0 committed Nov 16, 2022
1 parent e13179c commit 9b8aea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/request/web_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def request_monitor_finished(controller = nil)

def fill_in_tag(tag_name, selector = "tags-input .tags input")
expect(page).to have_selector selector
find(:css, selector).send_keys ""
find(:css, selector).click
find(:css, selector).set "#{tag_name}\n"
expect(page).to have_selector ".tag-list .tag-item span", text: tag_name
end
Expand Down

0 comments on commit 9b8aea2

Please sign in to comment.