Sha256: 892401aa2001b4547cd43730f5a20e8d6b77304ed54436ee50bc6296a33e57c0

Contents?: true

Size: 330 Bytes

Versions: 7

Compression:

Stored size: 330 Bytes

Contents

# encoding: utf-8

require 'minitest_helper'

describe SayWhen do

  it 'provides a default logger' do
    SayWhen.logger.wont_be_nil
  end

  it 'can set a new logger' do
    l = Logger.new('/dev/null')
    SayWhen.logger = l
    l.must_equal l
  end

  it 'provides the scheduler' do
    SayWhen.scheduler.wont_be_nil
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
say_when-2.2.1 test/say_when_test.rb
say_when-2.2.0 test/say_when_test.rb
say_when-2.1.1 test/say_when_test.rb
say_when-2.1.0 test/say_when_test.rb
say_when-2.0.2 test/say_when_test.rb
say_when-2.0.1 test/say_when_test.rb
say_when-2.0.0 test/say_when_test.rb