Sha256: c2ced961a57c5a5de8c2f5473856b6f6beccd4d9232c5543b7de43ae1992511d

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

require 'spec_helper'
require 'omniauth-prayer-letters'

describe OmniAuth::Strategies::PrayerLetters do
  let(:app) { lambda { [200, {}, ["Hello."]] } }
  let(:subject) { OmniAuth::Strategies::PrayerLetters.new(app, 'test_client_id', 'test_client_secret', @options) }

  before do
    OmniAuth.config.test_mode = true
  end

  after do
    OmniAuth.config.test_mode = false
  end

  it_should_behave_like 'an oauth2 strategy'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-prayer-letters-0.0.3 spec/omniauth/strategies/prayer_letters_spec.rb