Docker for Rails Developers (for Den Patin) by Rob Isenberg

Docker for Rails Developers (for Den Patin) by Rob Isenberg

Author:Rob Isenberg
Language: eng
Format: epub
Tags: Pragmatic Bookshelf
Publisher: The Pragmatic Bookshelf, LLC (682920)


Again, you will have to chown the files (see ​File Ownership and Permissions​):

​ ​$ ​​sudo​​ ​​chown​​ ​​<your_user>:<your_group>​​ ​​-R​​ ​​.​

Before we run this test, let’s switch to using the RackTest driver for standard system tests. Not only is this faster, but it saves us having to install a full browser driver with JavaScript support (Selenium is the default) until we actually need it.

Edit spec/rails_helper.rb, adding the following lines just before the final end:

​ config.​before​(​:each​, ​type: :system​) ​do​

​ driven_by ​:rack_test​

​ ​end​



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.