File: mini_test.rb

package info (click to toggle)
ruby-test-xml 0.1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: ruby: 781; makefile: 4
file content (12 lines) | stat: -rw-r--r-- 257 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
require "test_xml"

# TODO: should we remove test_xml/spec?
Minitest::Expectations.class_eval do
  TestXml::ASSERTIONS.each do |cfg|
    infect_an_assertion(cfg.assert_name, cfg.expectation)
  end
end

class Minitest::Test
  include TestXml::Assertions
end