File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 77 let! ( :session_format ) { create ( :session_format , name : 'Only format' ) }
88 let ( :session_format2 ) { create ( :session_format , name : '2nd format' ) }
99
10- let ( :go_to_new_proposal ) { visit new_event_proposal_path ( event ) }
10+ def go_to_new_proposal
11+ visit new_event_proposal_path ( event )
12+ end
1113
12- let ( :create_proposal ) do
14+ def create_proposal
1315 fill_in 'Title' , with : "General Principles Derived by Magic from My Personal Experience"
1416 fill_in 'Abstract' , with : "Because certain things happened to me, they will happen in just the same manner to everyone."
1517 fill_in 'proposal_speakers_attributes_0_bio' , with : "I am awesome."
1921 click_button 'Submit'
2022 end
2123
22- let ( :create_invalid_proposal ) do
24+ def create_invalid_proposal
2325 fill_in 'proposal_speakers_attributes_0_bio' , with : "I am a great speaker!."
2426 fill_in 'Pitch' , with : "You live but once; you might as well be amusing. - Coco Chanel"
2527 fill_in 'Details' , with : "Plans are nothing; planning is everything. - Dwight D. Eisenhower"
You can’t perform that action at this time.
0 commit comments