Sha256: b431dc78cdf50c3733bb6b0bfb9cfc033b504d3efce98636b47e4fcbc8d463bb
Contents?: true
Size: 479 Bytes
Versions: 2
Compression:
Stored size: 479 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) describe OmniAuth::Strategies::HttpBasic do def app; lambda {|env| [200, {}, ["Hello HttpBasic!"]]}; end let(:fresh_strategy) { Class.new OmniAuth::Strategies::HttpBasic } subject { fresh_strategy } it 'should be initialized with authentication endpoint' do instance = subject.new(app, "http://www.example.com/httpauth") instance.options.endpoint.should == "http://www.example.com/httpauth" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
omniauth-http-basic-1.1.0 | spec/omniauth/strategies/http_basic_spec.rb |
omniauth-http-basic-1.0.0 | spec/omniauth/strategies/http_basic_spec.rb |