Sha256: c2bfbd436073aac32f97c746372b3810bf1f64299349191f8e478c5f37a7cc5f

Contents?: true

Size: 377 Bytes

Versions: 22

Compression:

Stored size: 377 Bytes

Contents

require "spec_helper"

describe PagSeguro::Session::Response do
  let(:xml) do
    MultiXml.parse('<session><id>620f99e348c24f07877c927b353e49d3</id></session>')
  end

  let(:session) { PagSeguro::Session::Response.new(xml) }

  subject { session }

  it { should respond_to(:id) }

  describe '#id' do
    its(:id) { should eq('620f99e348c24f07877c927b353e49d3') }
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
pagseguro-transparente-1.1.0 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-1.0.1 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-1.0.0 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.2.5 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.2.4 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.2.3 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.2.2 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.2.1 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.2.0 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.1.3 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.1.2 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.1.1 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.1.0 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.0.9 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.0.8 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.0.7 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.0.6 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.0.5 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.0.4 spec/pagseguro/session/response_spec.rb
pagseguro-transparente-0.0.3 spec/pagseguro/session/response_spec.rb