File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ dist : trusty
12rvm :
23- 2.4.2
34bundler_args : " --without debug development"
45cache : bundler
6+ services :
7+ - postgresql
58before_script :
69- cp .sample.env .env
710- export SECRET_KEY_BASE="$(bundle exec rake secret)"
811- cp config/database.travis.yml config/database.yml
912- psql -c 'create database hours_test' -U postgres
10- - export DISPLAY=:99.0
11- - sh -e /etc/init.d/xvfb start
13+ - " export DISPLAY=:99.0"
14+ - " sh -e /etc/init.d/xvfb start"
15+ - sleep 3 # give xvfb some time to start
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ group :development, :test do
7373end
7474
7575group :test do
76- gem 'capybara' , '~> 3.16' , '>= 3.16.1'
76+ gem 'capybara'
7777 gem "database_cleaner"
7878 gem "launchy"
7979 gem "shoulda-matchers" , "~> 2.7.0"
Original file line number Diff line number Diff line change 3636 minitest (~> 5.1 )
3737 thread_safe (~> 0.3 , >= 0.3.4 )
3838 tzinfo (~> 1.1 )
39- addressable (2.3.6 )
39+ addressable (2.7.0 )
40+ public_suffix (>= 2.0.2 , < 5.0 )
4041 airbrake (8.1.2 )
4142 airbrake-ruby (~> 3.2 )
4243 airbrake-ruby (3.2.4 )
@@ -615,13 +616,13 @@ GEM
615616 slim (>= 1.3.6 , < 4.0 )
616617 terminal-table (~> 1.4 )
617618 builder (3.2.3 )
618- capybara (3.16.1 )
619+ capybara (3.30.0 )
619620 addressable
620621 mini_mime (>= 0.1.3 )
621622 nokogiri (~> 1.8 )
622623 rack (>= 1.6.0 )
623624 rack-test (>= 0.6.3 )
624- regexp_parser (~> 1.2 )
625+ regexp_parser (~> 1.5 )
625626 xpath (~> 3.2 )
626627 climate_control (0.2.0 )
627628 coderay (1.1.2 )
727728 mime-types-data (~> 3.2015 )
728729 mime-types-data (3.2018.0812 )
729730 mimemagic (0.3.2 )
730- mini_mime (1.0.1 )
731+ mini_mime (1.0.2 )
731732 mini_portile2 (2.4.0 )
732733 minitest (5.11.3 )
733734 momentjs-rails (2.7.0 )
737738 bourbon (>= 3.1 )
738739 sass (~> 3.2.19 )
739740 newrelic_rpm (3.9.0.229 )
740- nokogiri (1.10.3 )
741+ nokogiri (1.10.7 )
741742 mini_portile2 (~> 2.4.0 )
742743 normalize-rails (4.1.1 )
743744 orm_adapter (0.5.0 )
756757 slop (~> 3.4 )
757758 pry-rails (0.3.2 )
758759 pry (>= 0.9.10 )
759- rack (1.6.11 )
760+ public_suffix (4.0.3 )
761+ rack (1.6.12 )
760762 rack-test (0.6.3 )
761763 rack (>= 1.0 )
762764 rack-timeout (0.0.4 )
798800 recipient_interceptor (0.1.2 )
799801 mail
800802 redcarpet (3.4.0 )
801- regexp_parser (1.4 .0 )
803+ regexp_parser (1.6 .0 )
802804 responders (2.4.0 )
803805 actionpack (>= 4.2.0 , < 5.3 )
804806 railties (>= 4.2.0 , < 5.3 )
@@ -905,7 +907,7 @@ DEPENDENCIES
905907 bitters
906908 bourbon
907909 brakeman
908- capybara ( ~> 3.16 , >= 3.16.1 )
910+ capybara
909911 coffee-rails
910912 dalli
911913 database_cleaner
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ module Features
4040 config . include Paperclip ::Shoulda ::Matchers
4141 config . include ActionDispatch ::TestProcess
4242
43+ config . expose_dsl_globally = true
44+
4345 config . after ( :each ) do
4446 Apartment ::Tenant . reset
4547 drop_schemas
You can’t perform that action at this time.
0 commit comments