Fix test "for real".

This commit is contained in:
Steven Miers 2015-02-13 16:43:52 -06:00
parent 93ecdd6c86
commit 40368deb83
2 changed files with 3 additions and 2 deletions

View File

@ -59,7 +59,8 @@ describe "In a Session", :js => true, :type => :feature, :capybara_feature => tr
end
leave_music_session_sleep_delay
in_client(finder) { expect(page).to_not have_selector('div.track-label', title: user.name) }
in_client(finder) { expect(page).to_not have_selector("div.track-label[title='#{user.name}']") }
end
many = 4

View File

@ -637,7 +637,7 @@ def assert_all_tracks_seen(users=[])
users.each do |user|
in_client(user) do
users.reject {|u| u==user}.each do |other|
find('div.track-label', title: other.name)
find("div.track-label[title='#{other.name}']")
#puts user.name + " is able to see " + other.name + "\'s track"
end
end