spec/lib/percy/capybara/loaders/sprockets_loader_spec.rb in percy-capybara-0.4.0 vs spec/lib/percy/capybara/loaders/sprockets_loader_spec.rb in percy-capybara-0.4.1
- old
+ new
@@ -21,9 +21,10 @@
environment
end
let(:sprockets_options) do
options = double('options')
allow(options).to receive(:precompile).and_return([/(?:\/|\\|\A)base\.(css|js)$/])
+ allow(options).to receive(:digest).and_return(false)
options
end
describe '#snapshot_resources' do
context 'Rack::Test', type: :feature do