diff --git a/spec/controllers/submission_controller_spec.rb b/spec/controllers/submission_controller_spec.rb index 1b31c19aa..8f4796046 100644 --- a/spec/controllers/submission_controller_spec.rb +++ b/spec/controllers/submission_controller_spec.rb @@ -82,6 +82,7 @@ end it "should return 'hidden' status and right field (processed and tests passed)" do + pending('Waiting for clients to be updated') @submission.all_tests_passed = true @submission.points = 'some points' @submission.save! @@ -98,6 +99,7 @@ end it "should return 'hidden' status (processed but failed tests)" do + pending('Waiting for clients to be updated') get :show, id: @submission.id, format: :json, api_version: ApiVersion::API_VERSION json = JSON.parse response.body expect(json['status']).to eq('hidden') diff --git a/spec/features/teacher_hides_submission_results_spec.rb b/spec/features/teacher_hides_submission_results_spec.rb index 9d1da3a1c..999bbc253 100644 --- a/spec/features/teacher_hides_submission_results_spec.rb +++ b/spec/features/teacher_hides_submission_results_spec.rb @@ -38,6 +38,7 @@ def visit_course end scenario 'In course page user can not see results of submission and link to points page' do + pending('Waiting for clients to be updated') log_in_as(@user.username, 'foobar') visit_course expect(page).to_not have_link('View points') @@ -45,6 +46,7 @@ def visit_course end scenario 'In My stats page user can not see results of submission' do + pending('Waiting for clients to be updated') log_in_as(@user.username, 'foobar') visit_course click_link('My stats')