require_relative File.join 'support', 'coverage' require_relative File.join '..', 'lib', 'expect' # It is expected to raise the exception NameError fail unless Expect.this { Boom }.to(RaiseException: NameError) # It is expected to not raise the exception NameError fail if Expect.this { Boom }.not_to(RaiseException: NameError)