Sha256: 14420ed9862a078ca58b26fea0317ee0abe58e16a8f407af2f9b3092e715628f
Contents?: true
Size: 760 Bytes
Versions: 2
Compression:
Stored size: 760 Bytes
Contents
require "spec_helper" describe NuGetPack do subject(:task) do task = NuGetPush.new() task.extend(SystemPatch) task.command = "nuget" task.package = "package" task.api_key = "apikey" task.source = "source" task end let(:cmd) { task.system_command } before :each do task.execute end it "should set the command" do cmd.should include("nuget") end it "should set the subcommand" do cmd.should include("push") end it "should set the package" do cmd.should include("\"package\"") end it "should set the apikey" do cmd.should include("apikey") end it "should set the source" do cmd.should include("-Source source") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-1.0.0 | spec/nugetpush_spec.rb |
albacore-1.0.0.rc.3 | spec/nugetpush_spec.rb |