Sha256: 3faecfa836b851fe2a0f243d6111853309dd497f53c730669a92ec998ab20458

Contents?: true

Size: 443 Bytes

Versions: 4

Compression:

Stored size: 443 Bytes

Contents

require './lib/renuo_bin_check/result'
FactoryGirl.define do
  factory :cacher, class: RenuoBinCheck::Cacher do
    command 'script_name'
    paths ['./spec/spec-files/file1', './spec/spec-files/file2']
    initialize_with { new(command, paths) }

    factory :not_found_cacher do
      command 'script_name2'
    end

    factory :copy_found_cacher do
      paths ['./spec/spec-files/file1', './spec/spec-files/file2_copy']
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
renuo-bin-check-1.0.0.beta2 spec/factories/cacher.rb
renuo-bin-check-1.0.0.beta1 spec/factories/cacher.rb
renuo-bin-check-0.2.1 spec/factories/cacher.rb
renuo-bin-check-0.2.0 spec/factories/cacher.rb