Sha256: aa15989d8a724c5b2186682a6e0d386f9496b8d1cc467792390a57e24edd1e1b

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

require 'spec_helper'

describe OpenIdAuthentication do
  before do
    OpenIdAuthentication.store = :memory
  end

  it "has a version" do
    OpenIdAuthentication::VERSION.should =~ /^\d+\.\d+\.\d+$/
  end

  describe ".new" do
    it "creates a Rack::OpenID" do
      OpenIdAuthentication::Middleware.new({}).class.should == Rack::OpenID
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
open_id_authentication-1.2.0 spec/open_id_authentication_spec.rb