Sha256: b0345b66e8c9e028080d1d5756434ee773ef164f81e8947d001fc2dc9ae69641

Contents?: true

Size: 465 Bytes

Versions: 1

Compression:

Stored size: 465 Bytes

Contents

require 'spec_helper'

describe Silvermoon::Notifier do
  it "should be valid" do
    Silvermoon::Notifier.should be_a(Module)
  end

  it "should define the base class" do
    Silvermoon::Notifier.const_defined?('Base').should be_true
  end

  it { should respond_to(:config) }

  it "should read the config file from config/silvermoon.yml" do
    hash = STUB_CONFIG
    with_config_file(hash) do
      Silvermoon::Notifier.config.should == hash
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
silvermoon-0.1 spec/silvermoon/notifier_spec.rb