spec/routemaster/integration/cache_spec.rb in routemaster-drain-2.0.0 vs spec/routemaster/integration/cache_spec.rb in routemaster-drain-2.2.2

- old
+ new

@@ -56,12 +56,10 @@ .from(nil) end end context 'when there is a previous cached response' do - before do - subject.get(url) - end + before { subject.get(url) } it 'fetches the cached response' do expect(subject.get(url).body).to eq({ field: 'test' }.to_json) end