From 49b84bcf2cfa0e11311b96e6023c1bc21d5f4dd0 Mon Sep 17 00:00:00 2001 From: Bert Owen Date: Mon, 23 Jun 2014 01:43:17 +0200 Subject: [PATCH] fix test --- web/spec/features/create_session_flow_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/spec/features/create_session_flow_spec.rb b/web/spec/features/create_session_flow_spec.rb index 5f7c87866..02adaeadd 100644 --- a/web/spec/features/create_session_flow_spec.rb +++ b/web/spec/features/create_session_flow_spec.rb @@ -152,8 +152,8 @@ describe "Create Session Flow", :js => true, :type => :feature, :capybara_featur find('input#session-policy-standard[type="radio"][checked="checked"]') find('input#session-policy-confirm[type="checkbox"]') - expect( find('select#session-musician-access').value ).to eq('musicians-approval') - expect( find('select#session-fans-access').value ).to eq('listen-chat-each') + page.should have_css('span.selected', text: "Musicians may join by approval") + page.should have_css('span.selected', text: "Fans may listen, chat with each other") page.should have_css(".btn-back") page.should have_css(".btn-next") @@ -210,7 +210,7 @@ describe "Create Session Flow", :js => true, :type => :feature, :capybara_featur end it "start a session after scheduling" do - pending "Waiting Brian to fix rsvp bug..." + # pending "Waiting Brian to fix rsvp bug..." MusicSession.delete_all schedule_session({creator: user1})