lib/tramway/spec/helpers/navbar_helper.rb in tramway-0.1.1.1 vs lib/tramway/spec/helpers/navbar_helper.rb in tramway-0.1.2
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
module NavbarHelper
def click_on_dropdown(text)
- first('ul.navbar-nav li.nav-item.dropdown a.nav-link.dropdown-toggle', text: text, visible: true).click
+ first('ul.navbar-nav li.nav-item.dropdown a.nav-link.dropdown-toggle', text:, visible: true).click
end
end