Sha256: 432975199a8820c90ee7996741953f81bf0ba86e9aa403fd695d69dbe9b681c2

Contents?: true

Size: 410 Bytes

Versions: 11

Compression:

Stored size: 410 Bytes

Contents

require 'spec_helper'

describe Configuration do 
  it 'should redirect random calls to the instance of Empezar::Configuration' do 
    Empezar::Configuration.instance.should_receive :hola
    Configuration.hola

    Empezar::Configuration.instance.should_receive :aaaaaaaa
    Configuration.aaaaaaaa

    Empezar::Configuration.instance.should_receive(:oo=).with "hola"
    Configuration.oo = "hola"
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
empezar-0.4.1 spec/configuration_spec.rb
empezar-0.4.0 spec/configuration_spec.rb
empezar-0.3.1 spec/configuration_spec.rb
empezar-0.3.0 spec/configuration_spec.rb
empezar-0.2.0 spec/configuration_spec.rb
empezar-0.1.3 spec/configuration_spec.rb
empezar-0.1.2 spec/configuration_spec.rb
empezar-0.1.1 spec/configuration_spec.rb
empezar-0.1.0 spec/configuration_spec.rb
empezar-0.0.2 spec/configuration_spec.rb
empezar-0.0.1 spec/configuration_spec.rb