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
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
plugin.assets.count.should == 2

View file

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