Sha256: 4668d3df586d52bd73bb25c230a74ac2432aa8dd4f0def7c6fa8cd2697ce941f

Contents?: true

Size: 354 Bytes

Versions: 1

Compression:

Stored size: 354 Bytes

Contents

# encoding: utf-8

require 'minitest_helper'

describe SayWhen do

  it 'provides a default logger' do
    expect(SayWhen.logger).wont_be_nil
  end

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

  it 'provides the scheduler' do
    expect(SayWhen.scheduler).wont_be_nil
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
say_when-2.2.2 test/say_when_test.rb