Sha256: 2da3baa66157a48884669bd214b2d3bdc8d774b6150abe99805482646e9b7c33
Contents?: true
Size: 597 Bytes
Versions: 25
Compression:
Stored size: 597 Bytes
Contents
require 'helper' require 'ostruct' require 'tmpdir' module CSD module Application # This is our dummy application for testing # module Chess class << self include CSD::Application::Default end end end end class TestApplicationDefault < Test::Unit::TestCase include CSD context "the empty, default application module" do setup do @mod = Application::Chess end should "raise an error if the instance method was called" do assert_raise(Error::Application::NoInstanceMethod) { @mod.instance } end end end
Version data entries
25 entries across 25 versions & 1 rubygems