Merge branch 'fix-compare-spec' into 'master'

Fix broken rspec in compare text

!6910 changed the filter text from "Filter by branch/tag" to "Filter by Git revision"

See merge request !6926
This commit is contained in:
Stan Hu 2016-10-17 04:11:28 +00:00
commit cb8654e856
1 changed files with 1 additions and 1 deletions

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