Sha256: 3fe9d46fcc6ab0c2b0b20cd13c2f58ebccc174e68ac807db88c04070effb5de1
Contents?: true
Size: 501 Bytes
Versions: 15
Compression:
Stored size: 501 Bytes
Contents
require "spec_helper" describe PagSeguro do before do PagSeguro.email = "EMAIL" PagSeguro.token = "TOKEN" end it { expect(PagSeguro.email).to eql("EMAIL") } it { expect(PagSeguro.token).to eql("TOKEN") } context "configuring library" do it "yields PagSeguro" do expect {|block| PagSeguro.configure(&block) }.to yield_with_args(PagSeguro) end end context "default settings" do it { expect(PagSeguro.environment).to eql(:production) } end end
Version data entries
15 entries across 15 versions & 1 rubygems