spec/persistent_spec.rb in dagger-0.7.0 vs spec/persistent_spec.rb in dagger-0.8.0

- old
+ new

@@ -6,11 +6,10 @@ describe 'Persistent mode' do it 'works' do fake_client = double('Client') expect(Dagger::Client).to receive(:new).once.and_return(fake_client) - # expect(fake_client).to receive(:get).twice #.and_return(fake_resp) - expect(fake_client).to receive(:start).once #.and_return(fake_resp) + expect(fake_client).to receive(:open).once #.and_return(fake_resp) obj = Dagger.open('https://www.google.com') do get('/search?q=dagger+http+client') get('google.com/search?q=thank+you+ruby') end \ No newline at end of file