Sha256: d8dcb9d7c4b85a60e1be27976bb34358be73eed3097c16a1469f63f5dfbbde2c

Contents?: true

Size: 285 Bytes

Versions: 16

Compression:

Stored size: 285 Bytes

Contents

require 'spec_helper'

describe SmartIoC::BeanLocations do
  before :all do
    SmartIoC.clear
  end

  it {
    path = '/app/test_path'
    SmartIoC::BeanLocations.add_bean(:test, :test_bean, path)

    expect(SmartIoC::BeanLocations.get_bean_by_path(path)).to eq(:test_bean)
  }
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
smart_ioc-0.5.2 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.5.1 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.5.0 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.3.9 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.4.0 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.3.8 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.3.7 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.3.6 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.3.5 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.3.2 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.3.1 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.3.0 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.2.5 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.2.4 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.2.3 spec/smart_ioc/bean_locations_spec.rb
smart_ioc-0.2.2 spec/smart_ioc/bean_locations_spec.rb