Skip to content
Snippets Groups Projects
Commit 38653f0c authored by Gabriel's avatar Gabriel
Browse files

Add default #uses_from_macos behaviour spec

parent aafe8752
No related branches found
No related tags found
No related merge requests found
......@@ -138,6 +138,18 @@ describe SoftwareSpec do
expect(subject.options.first.description).to eq("blah")
end
describe "#uses_from_macos" do
it "allows specifying dependencies" do
subject.uses_from_macos("foo")
expect(subject.deps.first.name).to eq("foo")
end
it "ignores OS version specifications" do
subject.uses_from_macos("foo", after: :mojave)
expect(subject.deps.first.name).to eq("foo")
end
end
describe "#patch" do
it "adds a patch" do
subject.patch(:p1, :DATA)
......
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