spec/lib/percy/capybara/loaders/sprockets_loader_spec.rb in percy-capybara-2.6.0 vs spec/lib/percy/capybara/loaders/sprockets_loader_spec.rb in percy-capybara-3.0.0

- old
+ new

@@ -40,10 +40,10 @@ expect(resources.map(&:resource_url)).to eq(['/']) expect(resources.first.is_root).to eq(true) expect(resources.first.content).to include('Hello World') end end - context 'Capybara::Webkit', type: :feature, js: true do + context 'Capybara::Poltergeist', type: :feature, js: true do it 'returns the root HTML resource' do visit '/' resources = loader.snapshot_resources expect(resources.map(&:resource_url)).to eq(['/']) expect(resources.first.is_root).to eq(true)