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.
1 parent ed679da commit 25136a8Copy full SHA for 25136a8
tests/spec/requests/caching_spec.rb
@@ -21,7 +21,7 @@
21
describe "an asset" do
22
let(:index_body) { Net::HTTP.get(index_uri) }
23
let(:index_page) { Capybara.string(index_body) }
24
- let(:asset_path) { index_page.first('body script', visible: false)[:src] }
+ let(:asset_path) { index_page.first('head script', visible: false)[:src] }
25
let(:asset_uri) { URI.join(index_uri, asset_path) }
26
let(:one_year_s) { 365 * 24 * 60 * 60 }
27
0 commit comments