Sha256: c25a1c22883476c47b117ac585c987a41ba47bfe08394443fc670b667e15f018

Contents?: true

Size: 430 Bytes

Versions: 3

Compression:

Stored size: 430 Bytes

Contents

# encoding: UTF-8
require 'spec_helper'

describe "CepLivre::Configuration" do
  before do
    CepLivre::Configuration.key = nil
  end
  
  it "should get the ceplivre key" do
    CepLivre::Configuration.key.should == "your_key"
  end
  
  it "should set a key for ceplivre api" do
    key_to_test = "122345677009212"
    
   CepLivre::Configuration.key = key_to_test
   CepLivre::Configuration.key.should == key_to_test
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ceplivre-0.0.3 spec/ceplivre/configuration_spec.rb
ceplivre-0.0.2 spec/ceplivre/configuration_spec.rb
ceplivre-0.0.1 spec/ceplivre/configuration_spec.rb