Changeset 18894 for platform/tdiary/spec

Show
Ignore:
Timestamp:
09/05/08 16:58:44 (3 months ago)
Author:
hsbt
Message:

add service for wassr openid.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • platform/tdiary/spec/openid_spec.rb

    r6635 r18894  
    236236        end 
    237237 
     238        describe "Wassr" do 
     239                before do 
     240                        plugin = setup_open_id_plugin('Wassr', 'tdtds') 
     241                        @header_snippet = plugin.header_proc 
     242                end 
     243 
     244                it { @header_snippet.should include_link_tag_with( 
     245                                :rel => 'openid.server', 
     246                                :href => 'https://wassr.jp/open_id/auth')} 
     247 
     248                it { @header_snippet.should include_link_tag_with( 
     249                                :rel => 'openid.delegate', 
     250                                :href => 'https://wassr.jp/user/tdtds')} 
     251        end 
     252 
    238253        def include_link_tag_with(options) 
    239254                msg = "include #{options[:rel]} link tag"