fixed broken band_spec tests

This commit is contained in:
Jonathan Kolyer 2014-12-07 17:10:25 +00:00
parent 34f0aff328
commit d4055b7a1c
1 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ describe "Bands", :js => true, :type => :feature, :capybara_feature => true do
view_band_profile_of some_band
expect(page).to have_selector('#band-profile-follower-stats', text: "1 Follower")
find('#band-profile-social-link').trigger(:click)
expect(page).to have_selector('div.profile-block-name')
expect(page).to have_selector('div.band-profile-block-name')
end
end
@ -225,7 +225,7 @@ describe "Bands", :js => true, :type => :feature, :capybara_feature => true do
expect(page).to have_selector('#btn-edit-band-profile')
find('#btn-edit-band-profile').trigger(:click)
find('h2', text: 'Step 1: General Information')
find('h2', text: 'General Information')
expect(page).to have_content band.name
expect(page).to have_content band.biography