Sha256: b8b1989ab9533d96d1829189cc7cba68a6bfe3e9f057f635683bda52b3aae94a

Contents?: true

Size: 400 Bytes

Versions: 2

Compression:

Stored size: 400 Bytes

Contents

require 'spec_helper'
require 'omniauth-pls'

describe OmniAuth::Strategies::Pls do
  let(:app) { lambda { [200, {}, ["Hello."]] } }
  let(:subject) { OmniAuth::Strategies::Pls.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

2 entries across 2 versions & 1 rubygems

Version Path
omniauth-pls-0.0.2 spec/omniauth/strategies/pls_spec.rb
omniauth-pls-0.0.1 spec/omniauth/strategies/pls_spec.rb