Skip to content

Commit 87dc68e

Browse files
committed
update tests to use minitest; refs #13
1 parent a32bf20 commit 87dc68e

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

.build/test/test-examples.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
require 'json'
22
require 'json-schema'
3-
require 'test/unit'
43
require 'pathname'
5-
6-
class ExamplesTest < Test::Unit::TestCase
4+
require 'minitest/autorun'
5+
require 'minitest/unit'
6+
7+
class ExamplesTest < MiniTest::Unit::TestCase
78

89
def setup
910
root = Pathname(File.dirname(File.expand_path __FILE__)) + '..' + '..'

.build/test/test-schema.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
require 'json'
22
require 'json-schema'
3-
require "test/unit"
4-
5-
class SchemaTest < Test::Unit::TestCase
3+
require "minitest/autorun"
4+
require "minitest/unit"
5+
6+
class SchemaTest < MiniTest::Unit::TestCase
67

78
def test_validate_schema
89
root = Pathname(File.dirname(File.expand_path __FILE__)) + '..' + '..'

0 commit comments

Comments
 (0)