File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 6
6
before ( :all ) do
7
7
drop_dummy_database
8
8
remove_project_directory
9
- run_cybele
9
+ run_cybele ( '--skip-create-database' )
10
10
setup_app_dependencies
11
11
end
12
12
Original file line number Diff line number Diff line change 7
7
drop_dummy_database
8
8
remove_project_directory
9
9
run_cybele ( '--database=sqlite3 --skip-create-database --skip-sidekiq --skip-simple-form --skip-show-for' \
10
- ' --skip-haml' )
10
+ ' --skip-haml --skip-docker ' )
11
11
setup_app_dependencies
12
12
end
13
13
195
195
it 'uses gitignore' do
196
196
git_ignore_test
197
197
end
198
+
199
+ it "don't use docker development environment" do
200
+ expect ( File ) . not_to exist ( file_project_path ( 'docker-compose.yml' ) )
201
+ expect ( File ) . not_to exist ( file_project_path ( 'Dockerfile' ) )
202
+ expect ( File ) . not_to exist ( file_project_path ( 'bin/start-app.sh' ) )
203
+ expect ( File ) . not_to exist ( file_project_path ( 'bin/start-sidekiq.sh' ) )
204
+
205
+ env_sample_file = content ( 'env.sample' )
206
+ expect ( env_sample_file ) . not_to match ( 'REDISTOGO_URL=redis://redis:6379/0' )
207
+
208
+ env_local_file = content ( '.env.local' )
209
+ expect ( env_local_file ) . not_to match ( 'REDISTOGO_URL=redis://redis:6379/0' )
210
+
211
+ env_staging_file = content ( '.env.staging' )
212
+ expect ( env_staging_file ) . not_to match ( 'REDISTOGO_URL=' )
213
+
214
+ env_production_file = content ( '.env.production' )
215
+ expect ( env_production_file ) . not_to match ( 'REDISTOGO_URL=' )
216
+ end
198
217
end
You can’t perform that action at this time.
0 commit comments