VRFS-3007 : Fix feed tests (bad selector).

This commit is contained in:
Steven Miers 2015-04-30 20:48:26 -05:00
parent 5ba6e1ed18
commit 7359cb36bf
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ describe "Feed", :js => true, :type => :feature, :capybara_feature => true do
# confirm navigate to user profile page
find(".avatar-tiny[user-id=\"#{user.id}\"][hoveraction=\"musician\"]").trigger(:click)
find("#user-profile h2[id=profile-username]", text: user.name)
find("#user-profile h2[id=username]", text: user.name)
end
# it "should render play widget" do
@ -198,7 +198,7 @@ describe "Feed", :js => true, :type => :feature, :capybara_feature => true do
# confirm navigate to user profile page
find(".avatar-tiny[user-id=\"#{user.id}\"][hoveraction=\"musician\"]").trigger(:click)
find("#user-profile h2[id=profile-username]", text: user.name)
find("#user-profile h2[id=username]", text: user.name)
end
end