require 'test_helper' describe Cask::DSL do it "lets you set url, homepage, and version" do test_cask = TestCask.new test_cask.url.must_equal URI('http://example.com/TestCask.dmg') test_cask.homepage.must_equal 'http://example.com/' test_cask.version.must_equal '1.2.3' end end