From 6377c6ca0fa220a3d2f2dff88399455fb182c5bb Mon Sep 17 00:00:00 2001 From: Maximilian Grundke Date: Wed, 31 Jan 2018 13:06:18 +0100 Subject: [PATCH] Use skip instead of misused pending in oscillating tests --- spec/controllers/sessions_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/controllers/sessions_controller_spec.rb b/spec/controllers/sessions_controller_spec.rb index 81ec669f..17bd0721 100644 --- a/spec/controllers/sessions_controller_spec.rb +++ b/spec/controllers/sessions_controller_spec.rb @@ -132,14 +132,14 @@ describe SessionsController do end it 'redirects to recommended exercise if requested token of proxy exercise' do - pending 'test is currently oscillating' + skip 'test is currently oscillating' FactoryBot.create(:proxy_exercise, exercises: [exercise]) post :create_through_lti, custom_locale: locale, custom_token: ProxyExercise.first.token, oauth_consumer_key: consumer.oauth_key, oauth_nonce: nonce, oauth_signature: SecureRandom.hex, user_id: user.external_id expect(controller).to redirect_to(implement_exercise_path(exercise.id)) end it 'recommends only exercises who are 1 degree more complicated than what user has seen' do - pending 'test is currently oscillating' + skip 'test is currently oscillating' # dummy user has no exercises finished, therefore his highest difficulty is 0 FactoryBot.create(:proxy_exercise, exercises: [exercise, exercise2]) exercise.expected_difficulty = 3