Module: Authlogic::Testing::ShouldaMacros

Defined in:
lib/authlogic/testing/shoulda_macros.rb

Instance Method Summary collapse

Instance Method Details

#should_be_authentic(model) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/authlogic/testing/shoulda_macros.rb', line 6

def should_be_authentic(model)
  should "acts as authentic" do
    assert model.respond_to?(:unique_token)
    assert model.respond_to?(:forget_all!)
    assert model.respond_to?(:crypto_provider)
  end
end