Skip to content

Commit 3851046

Browse files
committed
fix specs
1 parent 4ec24ee commit 3851046

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/migrating.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Note how the templates correspond to files in the `.controlplane/templates/` dir
4747
`cpl setup-app` and `cpl apply-template` commands.
4848

4949
Ensure that env vars point to the Heroku add-ons in the template for the app (`.controlplane/templates/app.yml`). See
50-
[this example](https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/.controlplane/templates/gvc.yml).
50+
[this example](https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/.controlplane/templates/app.yml).
5151

5252
After that, create a Dockerfile in `.controlplane/Dockerfile` for your deployment. See
5353
[this example](https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/.controlplane/Dockerfile).

spec/command/delete_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
let!(:app) { dummy_test_app }
9393

9494
before do
95-
run_cpl_command!("apply-template", "gvc", "-a", app)
95+
run_cpl_command!("apply-template", "app", "-a", app)
9696
end
9797

9898
after do
@@ -111,7 +111,7 @@
111111
let!(:app) { dummy_test_app }
112112

113113
before do
114-
run_cpl_command!("apply-template", "gvc", "rails", "-a", app)
114+
run_cpl_command!("apply-template", "app", "rails", "-a", app)
115115
end
116116

117117
after do

spec/command/run_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
let!(:cmd) { "'echo $CPLN_IMAGE'" }
115115

116116
before do
117-
run_cpl_command!("apply-template", "gvc", "rails", "-a", app)
117+
run_cpl_command!("apply-template", "app", "rails", "-a", app)
118118
run_cpl_command!("build-image", "-a", app)
119119
run_cpl_command!("deploy-image", "-a", app)
120120
run_cpl_command!("build-image", "-a", app)

0 commit comments

Comments
 (0)