Sha256: d3d2d45b3fc0970d12440a9b5f2e25b00c4ea1da921e924fe4e22c226a09bf53
Contents?: true
Size: 375 Bytes
Versions: 11
Compression:
Stored size: 375 Bytes
Contents
require 'spec_helper' describe Devise::Models::AuthyAuthenticatable do before(:each) do @user = create_user(:authy_id => '20') end describe "User#find_by_authy_id" do it "Should find the user" do User.find_by_authy_id('20').should_not be_nil end it "Shouldn't find the user" do User.find_by_authy_id('80').should be_nil end end end
Version data entries
11 entries across 11 versions & 1 rubygems