Sha256: f324438b00ddedf22759ae77e0eb1706e291cd56d462401bc1fcacc72ef854a8
Contents?: true
Size: 398 Bytes
Versions: 13
Compression:
Stored size: 398 Bytes
Contents
#encoding: UTF-8 require 'spec_helper' describe Termit::TextResponseHandler do describe "call method" do let(:handler) do response_body = File.open('spec/fixtures/text_response').read Termit::TextResponseHandler.new(response_body) end it "extracts data from HTTP response body" do expect($stdout).to receive(:puts).with("Ass") handler.call end end end
Version data entries
13 entries across 13 versions & 1 rubygems