Sha256: 0992a62377a90599197cfe20df86a077a201e7900986bb96d77fa9741804bbfa
Contents?: true
Size: 458 Bytes
Versions: 49
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' describe OpenIDConnect::Discovery::Provider::Config::Resource do let(:resource) do uri = URI.parse 'http://server.example.com' OpenIDConnect::Discovery::Provider::Config::Resource.new uri end describe '#endpoint' do context 'when invalid host' do before do resource.host = 'hoge*hoge' end it do expect { resource.endpoint }.to raise_error SWD::Exception end end end end
Version data entries
49 entries across 49 versions & 1 rubygems