Mercurial > hg > Members > atton > pmux
comparison spec/factories/projects.rb @ 2:67a6071afec7
Rename tmuxinator -> pmuxinator
$ zmv **/*tmuxinator* **/*pmuxinator*
$ gsed -e 's/tmuxinator/pmuxinator/g' -i **/*.*
$ gsed -e 's/Tmuxinator/Pmuxinator/g' -i **/*.*
author | Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 21 Jul 2014 08:32:00 +0900 |
parents | 39b72942a4d2 |
children |
comparison
equal
deleted
inserted
replaced
1:107d94e009cc | 2:67a6071afec7 |
---|---|
1 FactoryGirl.define do | 1 FactoryGirl.define do |
2 factory :project, :class => Tmuxinator::Project do | 2 factory :project, :class => Pmuxinator::Project do |
3 ignore do | 3 ignore do |
4 file { YAML.load(File.read("#{File.expand_path("spec/fixtures/sample.yml")}")) } | 4 file { YAML.load(File.read("#{File.expand_path("spec/fixtures/sample.yml")}")) } |
5 end | 5 end |
6 | 6 |
7 initialize_with { Tmuxinator::Project.new(file) } | 7 initialize_with { Pmuxinator::Project.new(file) } |
8 end | 8 end |
9 | 9 |
10 factory :project_with_deprecations, :class => Tmuxinator::Project do | 10 factory :project_with_deprecations, :class => Pmuxinator::Project do |
11 ignore do | 11 ignore do |
12 file { YAML.load(File.read("#{File.expand_path("spec/fixtures/sample.deprecations.yml")}")) } | 12 file { YAML.load(File.read("#{File.expand_path("spec/fixtures/sample.deprecations.yml")}")) } |
13 end | 13 end |
14 | 14 |
15 initialize_with { Tmuxinator::Project.new(file) } | 15 initialize_with { Pmuxinator::Project.new(file) } |
16 end | 16 end |
17 | 17 |
18 factory :wemux_project, :class => Tmuxinator::Project do | 18 factory :wemux_project, :class => Pmuxinator::Project do |
19 ignore do | 19 ignore do |
20 file { YAML.load(File.read("#{File.expand_path("spec/fixtures/sample_wemux.yml")}")) } | 20 file { YAML.load(File.read("#{File.expand_path("spec/fixtures/sample_wemux.yml")}")) } |
21 end | 21 end |
22 | 22 |
23 initialize_with { Tmuxinator::Project.new(file) } | 23 initialize_with { Pmuxinator::Project.new(file) } |
24 end | 24 end |
25 end | 25 end |