Sha256: eb55b6b11bc9e9aef19cb154dc6d448d10ecb9afbe391e97a7f198360c5d3211

Contents?: true

Size: 374 Bytes

Versions: 2

Compression:

Stored size: 374 Bytes

Contents

require_relative 'spec_helper'
require 'tailor'

describe Tailor do
  before { Tailor::Logger.log = false }

  describe "::config" do
    it "creates a new Configuration object" do
      Tailor::Configuration.should_receive(:new)
      Tailor.config
    end

    it "returns a Configuration object" do
      Tailor.config.should be_a Tailor::Configuration
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tailor-1.0.1 spec/tailor_spec.rb
tailor-1.0.0 spec/tailor_spec.rb