Skip to content
Snippets Groups Projects
Commit fd333392 authored by Markus Reiter's avatar Markus Reiter Committed by GitHub
Browse files

Merge pull request #2273 from reitermarkus/add-missing-cask-context

Add missing `:cask` metadata to specs.
parents c349b37b 6bc1d0b5
No related branches found
No related tags found
No related merge requests found
require "hbc/version"
describe Hbc::CLI::Doctor do
describe Hbc::CLI::Doctor, :cask do
it "displays some nice info about the environment" do
expect {
Hbc::CLI::Doctor.run
......
......@@ -2,7 +2,7 @@ require "English"
require "open3"
require "rubygems"
describe Hbc::CLI::Style do
describe Hbc::CLI::Style, :cask do
let(:args) { [] }
let(:cli) { described_class.new(args) }
......
describe Hbc::DSL::StanzaProxy do
describe Hbc::DSL::StanzaProxy, :cask do
let(:stanza_proxy) {
described_class.new(Array) { [:foo, :bar, :cake] }
}
......
describe Hbc::DSL::Version do
describe Hbc::DSL::Version, :cask do
shared_examples "expectations hash" do |input_name, expectations|
expectations.each do |input_value, expected_output|
context "when #{input_name} is #{input_value.inspect}" do
......
describe MacOS do
describe MacOS, :cask do
it "says '/' is undeletable" do
expect(MacOS).to be_undeletable(
"/",
......
describe Hbc::Verify::Checksum do
describe Hbc::Verify::Checksum, :cask do
let(:cask) { double("cask") }
let(:downloaded_path) { double("downloaded_path") }
let(:verification) { described_class.new(cask, downloaded_path) }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment