Sha256: a87607cba84497dfb0be7cbb540b433fd3cea5568fc5f36f023e66bf4df9719a

Contents?: true

Size: 298 Bytes

Versions: 2

Compression:

Stored size: 298 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

2 entries across 2 versions & 1 rubygems

Version Path
fozzie-1.1.0 spec/lib/fozzie/dsl_spec.rb
fozzie-1.0.3 spec/lib/fozzie/dsl_spec.rb