Sha256: daf571a343bc90fc09447bb0660b9e53170bfe80a7792df14b46df73d0fffc7c
Contents?: true
Size: 527 Bytes
Versions: 6
Compression:
Stored size: 527 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'test_helper') class UtilTest < Test::Unit::TestCase class UtilIncludeTest include Vagrant::Util end setup do @klass = UtilIncludeTest end context "with a class" do should "have the util methods" do assert @klass.respond_to?(:error_and_exit) end end context "with an instance" do setup do @instance = @klass.new end should "have the util methods" do assert @instance.respond_to?(:error_and_exit) end end end
Version data entries
6 entries across 6 versions & 2 rubygems