Sha256: 28d5fccceb2577c5bd68fb76e25c2c6e665590f981802f37e5bdcc0e38eb25c6
Contents?: true
Size: 694 Bytes
Versions: 11
Compression:
Stored size: 694 Bytes
Contents
require File.expand_path("../spec_helper", File.dirname(__FILE__)) class User include RPXNow::UserIntegration def id 5 end end describe RPXNow::UserProxy do before do RPXNow.unmap('http://test.myopenid.com', 5) end it "has identifiers" do RPXNow.map('http://test.myopenid.com', 5) User.new.rpx.identifiers.should == ['http://test.myopenid.com'] end it "can map" do User.new.rpx.map('http://test.myopenid.com') User.new.rpx.identifiers.should == ['http://test.myopenid.com'] end it "can unmap" do RPXNow.map('http://test.myopenid.com', 5) User.new.rpx.unmap('http://test.myopenid.com') User.new.rpx.identifiers.should == [] end end
Version data entries
11 entries across 11 versions & 5 rubygems