Sha256: 186bda19a64ed253fb7c0e53de11a652bda9671503e701d1a16bdf22ac31b708

Contents?: true

Size: 355 Bytes

Versions: 8

Compression:

Stored size: 355 Bytes

Contents

require 'spec_helper'
require 'cantango/configuration/shared/factory_ex'

class MyFactory
  include CanTango::Configuration::Factory 
  include Singleton
end

describe CanTango::Configuration::Factory do
  subject { MyFactory.instance }

  specify { lambda { subject.default_factory}.should raise_error }

  it_should_behave_like 'Factory' do
  end
end


Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cantango-config-0.1.7 spec/cantango/configuration/factory_spec.rb
cantango-config-0.1.6 spec/cantango/configuration/factory_spec.rb
cantango-config-0.1.5 spec/cantango/configuration/factory_spec.rb
cantango-config-0.1.4 spec/cantango/configuration/factory_spec.rb
cantango-config-0.1.3 spec/cantango/configuration/factory_spec.rb
cantango-config-0.1.2 spec/cantango/configuration/factory_spec.rb
cantango-config-0.1.1 spec/cantango/configuration/factory_spec.rb
cantango-config-0.1.0 spec/cantango/configuration/factory_spec.rb