Sha256: e73fac9902a47409466e2177cfa60a6c4d14c391da7fc753a21cd14a4dcb62d9

Contents?: true

Size: 459 Bytes

Versions: 22

Compression:

Stored size: 459 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe "Resolution spec" do
  before(:each) do
    @dr = DependencyResolver.new({})
    DependencyResolver.stub!(:new).and_return @dr
  end
  
  it "should have a tree_hash associated with the resolver" do
    @dr.properties_hash.should == {}
  end
  it "runs compile on a new object when calling compile on the class" do    
    @dr.should_receive(:compile)
    DependencyResolver.compile(hash)
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
auser-poolparty-1.1.1 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.1.3 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.1.4 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.1.5 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.1.6 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.1.7 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.2.0 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.2.1 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.2.10 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.2.11 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.2.12 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.2.2 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.2.3 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.2.4 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.2.7 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.2.8 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
auser-poolparty-1.2.9 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
fairchild-poolparty-1.1.3 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
fairchild-poolparty-1.1.4 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
fairchild-poolparty-1.1.5 spec/poolparty/dependency_resolver/dependency_resolver_spec.rb