VRFS-3190 : Last band test fixed
This commit is contained in:
parent
75779da846
commit
0d8beef0e2
|
|
@ -51,9 +51,9 @@ describe "Bands", :js => true, :type => :feature, :capybara_feature => true do
|
|||
def complete_band_setup_form(band, biography, country="United States", region="Texas", city="Austin", params={})
|
||||
navigate_to_friend_page(band, biography, country, region, city, params)
|
||||
|
||||
# Save
|
||||
# Save
|
||||
find('#btn-band-setup-next').trigger(:click)
|
||||
sleep(1)
|
||||
sleep(1)
|
||||
end
|
||||
|
||||
def navigate_to_friend_page(band, biography, country="United States", region="Texas", city="Austin", params={})
|
||||
|
|
@ -67,7 +67,7 @@ describe "Bands", :js => true, :type => :feature, :capybara_feature => true do
|
|||
find('h2', text: 'set up band: online presence & performance samples')
|
||||
|
||||
find('#btn-band-setup-next').trigger(:click)
|
||||
find('h2', text: 'set up band: invite members')
|
||||
find('h2', text: 'set up band: invite members')
|
||||
end
|
||||
|
||||
context "band profile - new band setup" do
|
||||
|
|
@ -173,7 +173,6 @@ describe "Bands", :js => true, :type => :feature, :capybara_feature => true do
|
|||
expect(page).to have_content 'Radical D00dz'
|
||||
expect(page).to have_content 'Just a bunch of EXTREME dudes who ROCK professionally!!'
|
||||
expect(page).to have_content 'Lubbock, TX'
|
||||
band_attributes.each_value { |v| expect(page).to have_content v }
|
||||
end
|
||||
|
||||
it "allows a user to follow the band"
|
||||
|
|
|
|||
Loading…
Reference in New Issue