spec/lib/percy/capybara/loaders/sprockets_loader_spec.rb in percy-capybara-0.4.9 vs spec/lib/percy/capybara/loaders/sprockets_loader_spec.rb in percy-capybara-0.4.10
- old
+ new
@@ -20,10 +20,10 @@
environment.append_path '.'
environment
end
let(:sprockets_options) do
options = double('options')
- allow(options).to receive(:precompile).and_return([/(?:\/|\\|\A)base\.(css|js)$/])
+ allow(options).to receive(:precompile).and_return([/(?:\/|\\|\A)base\.(css|js)$|\.map/])
allow(options).to receive(:digest).and_return(false)
options
end
describe '#snapshot_resources' do