Sha256: 88304a1507ad84feb4023f7ec54797b6d84444c2a993f4fce2f451689ad4d22b

Contents?: true

Size: 341 Bytes

Versions: 5

Compression:

Stored size: 341 Bytes

Contents

module Authlogic
  module ShouldaMacros
    class Test::Unit::TestCase
      def self.should_be_authentic
        klass = described_type rescue model_class
        should "acts as authentic" do
          assert klass.new.respond_to?(:password=)
          assert klass.new.respond_to?(:valid_password?)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
crankharder-authlogic-2.1.1 shoulda_macros/authlogic.rb
jlecour-authlogic-2.1.2 shoulda_macros/authlogic.rb
kschrader-authlogic-2.1.2 shoulda_macros/authlogic.rb
kschrader-authlogic-2.1.3 shoulda_macros/authlogic.rb
authlogic-2.1.2 shoulda_macros/authlogic.rb