lib/rspeckled/plugins/authentication.rb in rspeckled-0.0.8 vs lib/rspeckled/plugins/authentication.rb in rspeckled-0.0.9

- old
+ new

@@ -104,8 +104,8 @@ instance.delete unless options.is_a?(Hash) && options[:strategy] == :instance end config.before(:each, :mock_auth => lambda { |v| !!v }) do |_example| - request.env['X_DECRYPTED_JSON_WEB_TOKEN'] = @token_data + request.env['X_JSON_WEB_TOKEN'] = @token_data end end