Sha256: a6d3c632770b3166d84fa9b19c4ea27ffc580e2d8023d224e41db0c930cb0f11
Contents?: true
Size: 676 Bytes
Versions: 12
Compression:
Stored size: 676 Bytes
Contents
require 'spec_helper' describe Conekta do describe ".config" do it "sets the api key initializer style" do Conekta.config { |c| c.api_key = "abc" } expect(Conekta.api_key).to eq("abc") end it "sets the api version initializer style" do Conekta.config { |c| c.api_version = "1.0" } expect(Conekta.api_version).to eq("1.0") end it "sets the api locale initializer style" do Conekta.config { |c| c.locale = "es" } expect(Conekta.locale).to eq("es") end it "sets the plugin initializer style" do Conekta.config { |c| c.plugin = "spree" } expect(Conekta.plugin).to eq("spree") end end end
Version data entries
12 entries across 12 versions & 2 rubygems