protest 0.2 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +1 -1
- data/lib/protest/test_case.rb +4 -4
- data/protest.gemspec +1 -1
- metadata +1 -1
data/README.rdoc
CHANGED
data/lib/protest/test_case.rb
CHANGED
@@ -48,7 +48,7 @@ module Protest
|
|
48
48
|
# is aliased as +before+ for your comfort.
|
49
49
|
def self.setup(&block)
|
50
50
|
define_method :setup do
|
51
|
-
super
|
51
|
+
super()
|
52
52
|
instance_eval(&block)
|
53
53
|
end
|
54
54
|
end
|
@@ -70,7 +70,7 @@ module Protest
|
|
70
70
|
def self.global_setup(&block)
|
71
71
|
(class << self; self; end).class_eval do
|
72
72
|
define_method :do_global_setup do
|
73
|
-
super
|
73
|
+
super()
|
74
74
|
instance_eval(&block)
|
75
75
|
end
|
76
76
|
end
|
@@ -81,7 +81,7 @@ module Protest
|
|
81
81
|
def self.teardown(&block)
|
82
82
|
define_method :teardown do
|
83
83
|
instance_eval(&block)
|
84
|
-
super
|
84
|
+
super()
|
85
85
|
end
|
86
86
|
end
|
87
87
|
|
@@ -99,7 +99,7 @@ module Protest
|
|
99
99
|
(class << self; self; end).class_eval do
|
100
100
|
define_method :do_global_teardown do
|
101
101
|
instance_eval(&block)
|
102
|
-
super
|
102
|
+
super()
|
103
103
|
end
|
104
104
|
end
|
105
105
|
end
|
data/protest.gemspec
CHANGED