blob: dc1e471e5adf18422f164825e9fca4ccf3b809fb (
plain)
1
2
3
4
5
6
7
8
9
|
shared_examples "a command that requires a Cask token" do
context "when no Cask is specified" do
it "raises an exception " do
expect {
described_class.run
}.to raise_error(Hbc::CaskUnspecifiedError, "This command requires a Cask token.")
end
end
end
|