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