spec/build/dependency/partial_chain_spec.rb in build-dependency-1.0.0 vs spec/build/dependency/partial_chain_spec.rb in build-dependency-1.1.0
- old
+ new
@@ -34,14 +34,14 @@
]
end
it "should generate a full list of provisions" do
expect(chain.provisions).to be == [
- variant.provision_for(Build::Dependency::Depends['Variant/debug']),
- platform.provision_for(Build::Dependency::Depends['Platform/linux']),
- compiler.provision_for(Build::Dependency::Depends['Language/C++17']),
+ variant.provision_for(Build::Dependency::Depends.new('Variant/debug')),
+ platform.provision_for(Build::Dependency::Depends.new('Platform/linux')),
+ compiler.provision_for(Build::Dependency::Depends.new('Language/C++17')),
lib.provision_for(Build::Dependency::Depends.new('lib')),
- compiler.provision_for(Build::Dependency::Depends['Language/C++14']),
+ compiler.provision_for(Build::Dependency::Depends.new('Language/C++14')),
app.provision_for(Build::Dependency::Depends.new('app')),
]
graph = visualization.generate(chain)