Sha256: 0cdc2f1a248996bdc4c09ae351363ab2bf77cc46441c7ba328e05ff6beee9414

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

require 'spec_helper'

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

    Empezar::Log.instance.should_receive :aaaaaaaa
    Log.aaaaaaaa

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
empezar-0.1.0 spec/log_spec.rb
empezar-0.0.2 spec/log_spec.rb
empezar-0.0.1 spec/log_spec.rb