File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3030 fill_in ( 'email' , with : contributor . email )
3131 fill_in ( 'password' , with : attributes_for ( :teacher ) [ :password ] )
3232 click_button ( I18n . t ( 'sessions.new.link' ) )
33+ has_content? ( I18n . t ( 'sessions.create.success' ) )
3334 allow_any_instance_of ( LtiHelper ) . to receive ( :lti_outcome_service? ) . and_return ( true )
3435 visit ( implement_exercise_path ( exercise ) )
3536 end
Original file line number Diff line number Diff line change 2222 fill_in ( 'email' , with : user . email )
2323 fill_in ( 'password' , with : password )
2424 click_button ( I18n . t ( 'sessions.new.link' ) )
25- wait_for_ajax
25+ has_content? ( I18n . t ( 'sessions.create.success' ) )
2626 allow_any_instance_of ( LtiHelper ) . to receive ( :lti_outcome_service? ) . and_return ( true )
2727 visit ( statistics_external_user_exercise_path ( id : exercise . id , external_user_id : learner . id ) )
2828 end
2929
30- context 'when a admin accesses the page' do
30+ context 'when an admin accesses the page' do
3131 let ( :user ) { create ( :admin , password :) }
3232
3333 it 'does display the option to enable autosaves' do
Original file line number Diff line number Diff line change 1010 fill_in ( 'email' , with : user . email )
1111 fill_in ( 'password' , with : attributes_for ( :teacher ) [ :password ] )
1212 click_button ( I18n . t ( 'sessions.new.link' ) )
13+ has_content? ( I18n . t ( 'sessions.create.success' ) )
1314 end
1415
1516 it 'does not contain rfcs for unpublished exercises' do
You can’t perform that action at this time.
0 commit comments