facon 0.3 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/facon.rb +1 -1
- data/lib/facon/baconize.rb +3 -4
- metadata +2 -2
data/History.txt
CHANGED
data/lib/facon.rb
CHANGED
data/lib/facon/baconize.rb
CHANGED
@@ -52,11 +52,10 @@ module Facon
|
|
52
52
|
|
53
53
|
def it_with_mock_verification(description, &block)
|
54
54
|
@before.unshift(lambda { setup_facon_mocks })
|
55
|
-
after
|
56
|
-
verify_facon_mocks
|
57
|
-
teardown_facon_mocks
|
58
|
-
end
|
55
|
+
@after << lambda { verify_facon_mocks }
|
59
56
|
it_without_mock_verification(description, &block)
|
57
|
+
ensure
|
58
|
+
teardown_facon_mocks
|
60
59
|
end
|
61
60
|
end
|
62
61
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cheah Chu Yeow
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-02-
|
12
|
+
date: 2008-02-19 00:00:00 +08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|