Sha256: 8846c3f7f225a74111412f20c9680b38756cc3feaa3854db7d8d482e14531b2b

Contents?: true

Size: 520 Bytes

Versions: 3

Compression:

Stored size: 520 Bytes

Contents

require 'spec_helper'

describe OmniAuth::Strategies::Youroom do
  subject do
    OmniAuth::Strategies::Youroom.new({})
  end

  context "client options" do
    it 'should have correct name' do
      subject.options.name.should eq("youroom")
    end

    it 'should have correct site' do
      subject.options.client_options.site.should eq('https://www.youroom.in')
    end

    it 'should have correct authorize url' do
      subject.options.client_options.authorize_path.should eq('/oauth/authorize')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
omniauth-youroom-0.0.4 spec/omniauth/strategies/youroom_spec.rb
omniauth-youroom-0.0.3 spec/omniauth/strategies/youroom_spec.rb
omniauth-youroom-0.0.2 spec/omniauth/strategies/youroom_spec.rb