VRFS-905 - updating this spec
This commit is contained in:
parent
f3bae8a97b
commit
249209677e
|
|
@ -158,8 +158,16 @@ describe "Bands", :js => true, :type => :feature, :capybara_feature => true do
|
|||
expect(page).to have_selector('.result-name', text: band_musician.name)
|
||||
end
|
||||
|
||||
it "displays photo, name, location, instruments played"
|
||||
it "displays a hover bubble containing more info on musician"
|
||||
it "displays photo, name, location for member" do
|
||||
sign_in_poltergeist fan
|
||||
visit "/client#/bandProfile/#{band_musician.bands.first.id}"
|
||||
find('#band-profile-members-link').trigger(:click)
|
||||
within "div.band-profile-members" do
|
||||
find(".avatar-small img")
|
||||
find(".result-name", text: band_musician.name)
|
||||
find(".result-location", text: "#{band_musician.city}, #{band_musician.state}")
|
||||
end
|
||||
end
|
||||
|
||||
it "displays any pending band invitations when viewed by current band member" do
|
||||
friend = user
|
||||
|
|
|
|||
Loading…
Reference in New Issue