Sha256: 6d32461c83552e33be193a66aa1f9c3be69cb135096764d2912d234f0d9dd43c

Contents?: true

Size: 417 Bytes

Versions: 17

Compression:

Stored size: 417 Bytes

Contents

require 'spec_helper'

describe Moip::Assinaturas do
  
  it "should can use the config method to configure the core class" do
    Moip::Assinaturas.config do |config|
      config.token = "YSV8NRJLQVS9JNFURG"
      config.key   = "ZP33V52G90EBISZMONKBSA5TT18KC33"
    end

    Moip::Assinaturas.token.should  == "YSV8NRJLQVS9JNFURG"
    Moip::Assinaturas.key.should    == "ZP33V52G90EBISZMONKBSA5TT18KC33"
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
moip-assinaturas-0.6.0 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.5.1 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.5.0 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.4.2 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.4.1 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.4.0 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.3.0 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.2.3 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.2.2 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.2.1 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.2.0 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.1.3 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.1.2 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.1.1 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.1.0 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.0.3 spec/moip_assinaturas_spec.rb
moip-assinaturas-0.0.2 spec/moip_assinaturas_spec.rb