Sha256: 62510e398ac11ebe9ab37d83b763bfa5240467e421d92591bc3a694bd97cdc7f
Contents?: true
Size: 574 Bytes
Versions: 21
Compression:
Stored size: 574 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/acceptance_helper') feature 'IdpController' do scenario 'Login via default signup page' do saml_request = make_saml_request("http://foo.example.com/saml/consume") visit "/saml/auth?SAMLRequest=#{CGI.escape(saml_request)}" fill_in 'Email', :with => "foo@example.com" fill_in 'Password', :with => "okidoki" click_button 'Sign in' click_button 'Submit' # simulating onload current_url.should == 'http://foo.example.com/saml/consume' page.should have_content "foo@example.com" end end
Version data entries
21 entries across 21 versions & 2 rubygems