etest-unit 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
- module Etest
2
- VERSION = "0.7.2"
1
+ module EtestUnit
2
+ VERSION = "0.7.3"
3
3
  end
data/lib/etest-unit.rb CHANGED
@@ -5,13 +5,13 @@ require File.dirname(__FILE__) + "/module_ext"
5
5
 
6
6
  require "test/unit/ui/console/testrunner"
7
7
 
8
- module Etest
8
+ module EtestUnit
9
9
  class Error < ArgumentError; end
10
10
 
11
11
  class TestRunner < Test::Unit::UI::Console::TestRunner
12
12
  def setup_mediator
13
13
  super
14
- @mediator = Etest::TestRunnerMediator.new(@suite)
14
+ @mediator = EtestUnit::TestRunnerMediator.new(@suite)
15
15
  end
16
16
  end
17
17
 
@@ -61,7 +61,7 @@ module Etest
61
61
  extend ClassMethods
62
62
 
63
63
  def self.suite
64
- suite_creator = Etest::TestSuiteCreator.new(self)
64
+ suite_creator = EtestUnit::TestSuiteCreator.new(self)
65
65
  suite_creator.tests = tests
66
66
  suite = suite_creator.create
67
67
  suite.name = @etest.name
data/lib/module_ext.rb CHANGED
@@ -14,7 +14,7 @@ class Module
14
14
  # reloads the module, and runs the module's etests.
15
15
  def etest(*args)
16
16
  reload if respond_to?(:reload)
17
- ::Etest.run self.const_get("Etest"), *args
17
+ ::EtestUnit.run self.const_get("Etest"), *args
18
18
  end
19
19
 
20
20
  #
data/test/etest_test.rb CHANGED
@@ -49,7 +49,7 @@ begin
49
49
  begin
50
50
  String.etest :test_camelize, :nosuchtest
51
51
  expect! false
52
- rescue Etest::Error
52
+ rescue EtestUnit::Error
53
53
  end
54
54
 
55
55
  expect! $etest_stats => { :underscore => 2, :camelize => 2, :success => 2 }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etest-unit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -53,7 +53,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
53
53
  version: '0'
54
54
  segments:
55
55
  - 0
56
- hash: 26857399825278854
56
+ hash: -3827139556998648464
57
57
  required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  none: false
59
59
  requirements: