Sha256: 83f8311232f4744de3ab88edfd5ea61ff14ceda627baeb3332f0c7bfe7ef63bd

Contents?: true

Size: 359 Bytes

Versions: 3

Compression:

Stored size: 359 Bytes

Contents

module DerailSpecs
  class FactoryBot
    def self.create(*_)
      not_installed_message
    end

    def self.create_list(*_)
      not_installed_message
    end

    def self.not_installed_message
      puts "factory_bot_rails is not installed in group :test"
      puts "Please add factory_bot_rails to your Gemfile to use this feature"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
derail_specs-0.7.0 lib/derail_specs/factory_bot_stub.rb
derail_specs-0.6.1 lib/derail_specs/factory_bot_stub.rb
derail_specs-0.6.0 lib/derail_specs/factory_bot_stub.rb