protest 0.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ Protest.
30
30
 
31
31
  Or
32
32
 
33
- rip install git://github.com/foca/protest.git
33
+ rip install git://github.com/foca/protest.git v0.2.1
34
34
 
35
35
  == Assertions
36
36
 
@@ -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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "protest"
3
- s.version = "0.2"
3
+ s.version = "0.2.1"
4
4
  s.date = "2009-09-11"
5
5
 
6
6
  s.description = "Protest is a tiny, simple, and easy-to-extend test framework"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protest
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.2"
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Nicol\xC3\xA1s Sanguinetti"