Sha256: 68f03e498955a48ad026f292353a7c963dc23c56d784a71a52abbfdd15472866
Contents?: true
Size: 361 Bytes
Versions: 2
Compression:
Stored size: 361 Bytes
Contents
require 'spec_helper' OpenIdAuthentication.class_eval do def authenticate_with_open_id identifier = nil, options = {}, &block openid_identifier = params[:openid_identifier] raise 'invalid usage' if openid_identifier.nil? block.call( {successful: true}.to_openobject, openid_identifier, "some not used parameters" ) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rad_users-0.0.2 | spec/controllers/spec_helper.rb |
rad_users-0.0.1 | spec/controllers/spec_helper.rb |