spec/grocer/feedback_connection_spec.rb in grocer-0.0.5 vs spec/grocer/feedback_connection_spec.rb in grocer-0.0.6
- old
+ new
@@ -2,10 +2,10 @@
require 'grocer/feedback_connection'
describe Grocer::FeedbackConnection do
subject { described_class.new(options) }
let(:options) { { certificate: '/path/to/cert.pem' } }
- let(:connection) { stub("Connection") }
+ let(:connection) { stub('Connection') }
it 'delegates reading to the Connection' do
Grocer::Connection.any_instance.expects(:read).with(42, 'lolIO')
subject.read(42, 'lolIO')
end