Sha256: 02ee97b239c2fb8c67feda7717a78c5aad09b92dfd22817a7f5a51019e90b1e4

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

require 'spec_helper'
require 'omniauth-twingl'

describe OmniAuth::Strategies::Twingl do
  subject do
    OmniAuth::Strategies::Twingl.new(nil, {})
  end

  describe "#client" do
    it "should point to the twingl API" do
      subject.client.site.should eq "http://api.twin.gl"
    end
  end

  describe "#callback_path" do
    it "should have the correct callback path" do
      subject.callback_path.should eq "/auth/twingl/callback"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-twingl-0.0.1 spec/omniauth/strategies/twingl_spec.rb