|
79 | 79 | config = Invoker::Parsers::Config.new(file.path, 9000)
|
80 | 80 | command1 = config.processes.first
|
81 | 81 |
|
82 |
| - expect(command1.port).to eq(9001) |
83 |
| - expect(command1.cmd).to match(/9001/) |
| 82 | + expect(command1.port).to eq(9000) |
| 83 | + expect(command1.cmd).to match(/9000/) |
84 | 84 |
|
85 | 85 | command2 = config.processes[1]
|
86 | 86 |
|
87 |
| - expect(command2.port).to eq(9002) |
88 |
| - expect(command2.cmd).to match(/9002/) |
| 87 | + expect(command2.port).to eq(9001) |
| 88 | + expect(command2.cmd).to match(/9001/) |
89 | 89 |
|
90 | 90 | command2 = config.processes[2]
|
91 | 91 |
|
|
118 | 118 | config = Invoker::Parsers::Config.new(file.path, 9000)
|
119 | 119 | command1 = config.processes.first
|
120 | 120 |
|
121 |
| - expect(command1.port).to eq(9001) |
122 |
| - expect(command1.cmd).to match(/9001/) |
| 121 | + expect(command1.port).to eq(9000) |
| 122 | + expect(command1.cmd).to match(/9000/) |
123 | 123 |
|
124 | 124 | command2 = config.processes[1]
|
125 | 125 |
|
|
162 | 162 | config = Invoker::Parsers::Config.new("/tmp/Procfile", 9000)
|
163 | 163 | command1 = config.processes.first
|
164 | 164 |
|
165 |
| - expect(command1.port).to eq(9001) |
| 165 | + expect(command1.port).to eq(9000) |
166 | 166 | expect(command1.cmd).to match(/bundle exec rails/)
|
167 | 167 | ensure
|
168 | 168 | File.delete("/tmp/Procfile")
|
|
183 | 183 |
|
184 | 184 | expect(dns_cache.dns_data).to_not be_empty
|
185 | 185 | expect(dns_cache.dns_data['web']).to_not be_empty
|
186 |
| - expect(dns_cache.dns_data['web']['port']).to eql 9001 |
| 186 | + expect(dns_cache.dns_data['web']['port']).to eql 9000 |
187 | 187 | ensure
|
188 | 188 | File.delete("/tmp/Procfile")
|
189 | 189 | end
|
|
0 commit comments