Improve course autocomplete customization (Part 2)

Update content migrations Selenium spec to test for enrollment term
subtitle in autocomplete.
This commit is contained in:
Andrew Leung 2014-03-20 15:10:38 -07:00
parent 0200278d7d
commit ee2787127f
1 changed files with 3 additions and 1 deletions

View File

@ -318,7 +318,9 @@ describe "content migrations" do
end
el = f('.ui-autocomplete li a')
el.text.should == @copy_from.name
divs = ff('div', el)
divs[0].text.should == @copy_from.name
divs[1].text.should == @copy_from.enrollment_term.name
el.click
ff('[name=selective_import]')[0].click