File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
- image : " ruby:2.4"
1
+ image : " ruby:2.4-stretch "
2
2
3
3
services :
4
4
- postgres:latest
@@ -10,7 +10,7 @@ variables:
10
10
POSTGRES_PASSWORD : " "
11
11
12
12
before_script :
13
- - apt-get update -qq && apt-get install -y -qq sqlite3 libsqlite3-dev nodejs postgresql
13
+ - apt-get update -qq && apt-get install -y -qq sqlite3 libsqlite3-dev nodejs postgresql chromedriver
14
14
- gem install bundler --no-ri --no-rdoc
15
15
- bundle install --jobs $(nproc) "${FLAGS[@]}"
16
16
- cp config/database.yml.gitlab config/database.yml
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ macOS: =rbenv install 2.4.1=
22
22
23
23
Within your local checkout run =bundle=.
24
24
25
+ For testing, install =chromedriver= > v59.
26
+
25
27
*** Configure Database
26
28
27
29
Every host that runs this application can have a different database
Original file line number Diff line number Diff line change 110
110
end
111
111
112
112
require 'capybara/rspec'
113
+ Capybara . asset_host = 'http://localhost:3000'
114
+ Capybara . javascript_driver = :selenium_chrome_headless
You can’t perform that action at this time.
0 commit comments