Sha256: 650c1de0d9780e83674e23a12163973d4a7fbd94df4f523722f337308e9ae4aa

Contents?: true

Size: 462 Bytes

Versions: 6

Compression:

Stored size: 462 Bytes

Contents

require File.join(File.dirname(__FILE__), "spec_helper")

describe "using dependency to require a simple gem" do
  before(:all) do
    Gem.use_paths(File.dirname(__FILE__) / "fixtures" / "gems")
    dependency "simple_gem"
  end
  
  it "does load it right away" do
    defined?(Merb::SpecFixture::SimpleGem2).should_not be_nil
  end
  
  it "loads it when merb starts" do
    startup_merb
    defined?(Merb::SpecFixture::SimpleGem2).should_not be_nil
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
merb-core-1.1.3 spec10/public/core_ext/simple_dependency_spec.rb
merb-core-1.1.2 spec10/public/core_ext/simple_dependency_spec.rb
merb-core-1.1.1 spec10/public/core_ext/simple_dependency_spec.rb
merb-core-1.1.0 spec10/public/core_ext/simple_dependency_spec.rb
merb-core-1.1.0.rc1 spec10/public/core_ext/simple_dependency_spec.rb
merb-core-1.1.0.pre spec10/public/core_ext/simple_dependency_spec.rb