We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 43aa4fb + c6fe00f commit 902228bCopy full SHA for 902228b
spec/rails_helper.rb
@@ -7,6 +7,12 @@
7
require "rspec/rails"
8
require "capybara/rspec"
9
require "capybara-screenshot/rspec"
10
+
11
+# This will insert a <base> tag with the asset host into the pages created by
12
+# save_and_open_page, meaning that relative links will be loaded from the
13
+# development server if it is running.
14
+Capybara.asset_host = "http://localhost:4000"
15
16
# Add additional requires below this line. Rails is not loaded until this point!
17
18
# Requires supporting ruby files with custom matchers and macros, etc, in
0 commit comments