Sha256: 6c118de235dc7b991292104b9826e5fe31f6ca036f156f9ffb6db23b9e5cd73f
Contents?: true
Size: 328 Bytes
Versions: 7
Compression:
Stored size: 328 Bytes
Contents
# frozen_string_literal: true RSpec.shared_context 'OAuth2::Error' do let(:oauth_error) { OAuth2::Error.new(oauth_response) } let(:oauth_response) do double(:oauth_response, parsed: { 'error' => error_message }).as_null_object end let(:error_message) { 'Validation failed: Email is already taken' } end
Version data entries
7 entries across 7 versions & 1 rubygems