diff --git a/web/spec/features/bands_spec.rb b/web/spec/features/bands_spec.rb index d243b6bcb..eb3834be3 100644 --- a/web/spec/features/bands_spec.rb +++ b/web/spec/features/bands_spec.rb @@ -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