diff --git a/spec/support/simple_rest_client.rb b/spec/support/simple_rest_client.rb index 3d2f723ff..d09b3b6f8 100644 --- a/spec/support/simple_rest_client.rb +++ b/spec/support/simple_rest_client.rb @@ -28,6 +28,7 @@ class BeefRestClient rescue StandardError => e { success: false, payload: e.message } end + def version return { success: false, payload: 'no token' } if @token.nil?