Sha256: 00246c1f66570aef074592ae5c5b7da33c144903a3fb7b747dccb2c5ee8e2c17
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 KB
Contents
require "spec_helper" describe NuGetUpdate do subject(:task) do task = NuGetUpdate.new() task.extend(SystemPatch) task.command = "nuget" task.input_file = "TestSolution.sln" task.source = ["source1", "source2"] task.id = ["id1", "id2"] task.repository_path = "repopath" task.safe task end let(:cmd) { task.system_command } before :each do task.execute end it "should use the command" do cmd.should include("nuget") end it "should use the subcommand" do cmd.should include("update") end it "should use the input file" do cmd.should include("\"TestSolution.sln\"") end it "should use the sources" do cmd.should include("-Source \"source1;source2\"") end it "should use the ids" do cmd.should include("-Id \"id1;id2\"") end it "should use the repo path" do cmd.should include("-RepositoryPath repopath") end it "should be safe" do cmd.should include("-Safe") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-1.0.0 | spec/nugetupdate_spec.rb |
albacore-1.0.0.rc.3 | spec/nugetupdate_spec.rb |