You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
404 B

require 'test_helper'
describe Cask::Scopes do
describe 'installed' do
it "returns a list of strings" do
caffeine = Cask.load('local-caffeine')
shutup do
Cask::Installer.install(caffeine)
end
installed_casks = Cask.installed
installed_casks.count.must_be :>, 0
installed_casks.each do |c|
c.must_be_kind_of String
end
end
end
end