correct spec

This commit is contained in:
Sam 2013-08-26 14:39:34 +10:00
parent afd1a3ac7b
commit bb3725cfca
2 changed files with 6 additions and 6 deletions

View file

@ -31,7 +31,7 @@ describe Plugin::Instance do
plugin.auth_providers.count.should == 1 plugin.auth_providers.count.should == 1
auth_provider = plugin.auth_providers[0] auth_provider = plugin.auth_providers[0]
auth_provider.type.should == :open_id auth_provider.authenticator.name.should == 'ubuntu'
# calls ensure_assets! make sure they are there # calls ensure_assets! make sure they are there
plugin.assets.count.should == 2 plugin.assets.count.should == 2

View file

@ -3,8 +3,8 @@
# version: 0.1 # version: 0.1
# authors: Frank Zappa # authors: Frank Zappa
auth_provider :open_id, auth_provider :title => 'with Ubuntu',
:name => 'zappa', :authenticator => Auth::OpenIdAuthenticator.new('ubuntu','https://login.ubuntu.com', trusted: true),
:identifier => 'https://zappa.com', :message => 'Authenticating with Ubuntu (make sure pop up blockers are not enbaled)',
:background_color => '#dd4814', :frame_width => 1000, # the frame size used for the pop up window, overrides default
:glyph => 'B' :frame_height => 800