Add missing :cask metadata to specs.

This commit is contained in:
Markus Reiter 2017-03-06 04:31:16 +01:00
parent c349b37b4f
commit 6bc1d0b5c1
6 changed files with 6 additions and 8 deletions

View File

@ -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

View File

@ -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) }

View File

@ -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] }
} }

View File

@ -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

View File

@ -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(
"/", "/",

View File

@ -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) }