Sha256: e35b24b0626e0f0e4a1d1f5b0c2cd78089b6a31136e59580c75dea1eb03acaf9

Contents?: true

Size: 283 Bytes

Versions: 3

Compression:

Stored size: 283 Bytes

Contents

require 'spec_helper'
require 'fozzie/interface'

describe Fozzie::Dsl do

  subject { Fozzie::Dsl.instance }

  it_behaves_like "interface"

  it "acts an a singleton" do
    Fozzie.c.namespaces.each do |k|
      Kernel.const_get(k).should eq Fozzie::Dsl.instance
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fozzie-1.0.2 spec/lib/fozzie/dsl_spec.rb
fozzie-1.0.1 spec/lib/fozzie/dsl_spec.rb
fozzie-1.0.0 spec/lib/fozzie/dsl_spec.rb