Sha256: 1022aec44f2df5ea8f8d7dd224136b2d7c0db46359cdb1540cc4138c5569b8a5

Contents?: true

Size: 504 Bytes

Versions: 12

Compression:

Stored size: 504 Bytes

Contents

FactoryGirl.define do
  factory :project, :class => Tmuxinator::Project do
    ignore do
      file { YAML.load(File.read("#{File.expand_path("spec/fixtures/sample.yml")}")) }
    end

    initialize_with { Tmuxinator::Project.new(file) }
  end

  factory :project_with_deprecations, :class => Tmuxinator::Project do
    ignore do
      file { YAML.load(File.read("#{File.expand_path("spec/fixtures/sample.deprecations.yml")}")) }
    end

    initialize_with { Tmuxinator::Project.new(file) }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
tmuxinator-0.6.7 spec/factories/projects.rb
tmuxinator-0.6.7.pre spec/factories/projects.rb
tmuxinator-0.6.6 spec/factories/projects.rb
tmuxinator-0.6.6.pre.3 spec/factories/projects.rb
tmuxinator-0.6.6.pre.2 spec/factories/projects.rb
tmuxinator-0.6.6.pre spec/factories/projects.rb
tmuxinator-0.6.5 spec/factories/projects.rb
tmuxinator-0.6.4 spec/factories/projects.rb
tmuxinator-0.6.3 spec/factories/projects.rb
tmuxinator-0.6.2 spec/factories/projects.rb
tmuxinator-0.6.1 spec/factories/projects.rb
tmuxinator-0.6.0 spec/factories/projects.rb