spec/economic/order_spec.rb in rconomic-0.5.2 vs spec/economic/order_spec.rb in rconomic-0.6.0

- old
+ new

@@ -1,6 +1,6 @@ -require './spec/spec_helper' +require "./spec/spec_helper" describe Economic::Order do let(:session) { make_session } subject { Economic::Order.new(:session => session, :number => 512) } @@ -24,16 +24,16 @@ end end describe "#pdf" do it "gets PDF data from API" do - mock_request('Order_GetPdf', {'orderHandle' => {'Number' => 512}}, :success) + mock_request("Order_GetPdf", {"orderHandle" => {"Number" => 512}}, :success) subject.pdf end it "decodes the base64Binary encoded data" do - stub_request('Order_GetPdf', nil, :success) - expect(subject.pdf).to eq('This is not really PDF data') + stub_request("Order_GetPdf", nil, :success) + expect(subject.pdf).to eq("This is not really PDF data") end end describe "#attention" do let(:contact) {