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