cask/create: update template to match new style

This commit is contained in:
Seeker
2020-08-06 09:39:07 -07:00
parent 51ff5eb401
commit 3a2dc79153
2 changed files with 12 additions and 12 deletions
+6 -6
View File
@@ -24,15 +24,15 @@ module Cask
def self.template(cask_token)
<<~RUBY
cask '#{cask_token}' do
version ''
sha256 ''
cask "#{cask_token}" do
version ""
sha256 ""
url "https://"
name ''
homepage ''
name ""
homepage ""
app ''
app ""
end
RUBY
end
@@ -29,15 +29,15 @@ describe Cask::Cmd::Create, :cask do
described_class.run("new-cask")
template = File.read(Cask::CaskLoader.path("new-cask"))
expect(template).to eq <<~RUBY
cask 'new-cask' do
version ''
sha256 ''
cask "new-cask" do
version ""
sha256 ""
url "https://"
name ''
homepage ''
name ""
homepage ""
app ''
app ""
end
RUBY
end