Sha256: cfba76e62ae2ff5760e04a8803e08e0b9e9f16f5608531a0deefb7e4e6ccc501

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 Bytes

Contents

module AktionTestRails
  module Matchers
    # = Matchers for FactoryGirl factories
    #
    # These methods will test that factories are producing valid records
    #
    #   describe User do
    #     it { should have_a_valid_factory(:user) }
    #   end
    #
    module FactoryGirl
      extend ActiveSupport::Concern

      included do
        include Validation
      end
    end
  end
end

ActiveSupport.run_load_hooks(:aktion_test_rails_matchers_active_admin)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aktion_test_rails-0.2.0 lib/aktion_test_rails/matchers/factory_girl.rb