Fix broken rspec in compare text

!6910 changed the filter text from "Filter by branch/tag" to "Filter by Git revision"
This commit is contained in:
Stan Hu 2016-10-16 21:09:38 -07:00
parent 7d196816c9
commit 913c1cd87a

View file

@ -44,7 +44,7 @@ describe "Compare", js: true do
def select_using_dropdown(dropdown_type, selection)
dropdown = find(".js-compare-#{dropdown_type}-dropdown")
dropdown.find(".compare-dropdown-toggle").click
dropdown.fill_in("Filter by branch/tag", with: selection)
dropdown.fill_in("Filter by Git revision", with: selection)
find_link(selection, visible: true).click
end
end