Add missing :cask metadata to specs.
This commit is contained in:
parent
c349b37b4f
commit
6bc1d0b5c1
@ -1,6 +1,4 @@
|
|||||||
require "hbc/version"
|
describe Hbc::CLI::Doctor, :cask do
|
||||||
|
|
||||||
describe Hbc::CLI::Doctor do
|
|
||||||
it "displays some nice info about the environment" do
|
it "displays some nice info about the environment" do
|
||||||
expect {
|
expect {
|
||||||
Hbc::CLI::Doctor.run
|
Hbc::CLI::Doctor.run
|
||||||
|
|||||||
@ -2,7 +2,7 @@ require "English"
|
|||||||
require "open3"
|
require "open3"
|
||||||
require "rubygems"
|
require "rubygems"
|
||||||
|
|
||||||
describe Hbc::CLI::Style do
|
describe Hbc::CLI::Style, :cask do
|
||||||
let(:args) { [] }
|
let(:args) { [] }
|
||||||
let(:cli) { described_class.new(args) }
|
let(:cli) { described_class.new(args) }
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
describe Hbc::DSL::StanzaProxy do
|
describe Hbc::DSL::StanzaProxy, :cask do
|
||||||
let(:stanza_proxy) {
|
let(:stanza_proxy) {
|
||||||
described_class.new(Array) { [:foo, :bar, :cake] }
|
described_class.new(Array) { [:foo, :bar, :cake] }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
describe Hbc::DSL::Version do
|
describe Hbc::DSL::Version, :cask do
|
||||||
shared_examples "expectations hash" do |input_name, expectations|
|
shared_examples "expectations hash" do |input_name, expectations|
|
||||||
expectations.each do |input_value, expected_output|
|
expectations.each do |input_value, expected_output|
|
||||||
context "when #{input_name} is #{input_value.inspect}" do
|
context "when #{input_name} is #{input_value.inspect}" do
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
describe MacOS do
|
describe MacOS, :cask do
|
||||||
it "says '/' is undeletable" do
|
it "says '/' is undeletable" do
|
||||||
expect(MacOS).to be_undeletable(
|
expect(MacOS).to be_undeletable(
|
||||||
"/",
|
"/",
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
describe Hbc::Verify::Checksum do
|
describe Hbc::Verify::Checksum, :cask do
|
||||||
let(:cask) { double("cask") }
|
let(:cask) { double("cask") }
|
||||||
let(:downloaded_path) { double("downloaded_path") }
|
let(:downloaded_path) { double("downloaded_path") }
|
||||||
let(:verification) { described_class.new(cask, downloaded_path) }
|
let(:verification) { described_class.new(cask, downloaded_path) }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user