facon 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -2
- data/README.txt +7 -0
- data/lib/facon/baconize.rb +6 -1
- data/lib/facon.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -44,6 +44,11 @@ See Facon::Baconize for more documentation on using Facon with Bacon[http://ruby
|
|
44
44
|
Simply install the gem:
|
45
45
|
gem install facon
|
46
46
|
|
47
|
+
== The Source Code
|
48
|
+
|
49
|
+
You can get the latest trunk from the Subversion repository at:
|
50
|
+
svn://svn.codefront.net/facon/trunk
|
51
|
+
|
47
52
|
== Links
|
48
53
|
|
49
54
|
* Facon website - http://facon.rubyforge.org/
|
@@ -55,6 +60,8 @@ Simply install the gem:
|
|
55
60
|
|
56
61
|
* test/unit and RSpec integration.
|
57
62
|
* Remove the $facon_mocks global.
|
63
|
+
* Throw away unnecessary code.
|
64
|
+
* Implement exactly, at_least, at_most expectations.
|
58
65
|
|
59
66
|
== Thanks to
|
60
67
|
|
data/lib/facon/baconize.rb
CHANGED
@@ -46,9 +46,14 @@ module Facon
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def it_with_mock_verification(description, &block)
|
49
|
+
before do
|
50
|
+
setup_facon_mocks
|
51
|
+
end
|
49
52
|
setup_facon_mocks
|
53
|
+
after do
|
54
|
+
verify_facon_mocks
|
55
|
+
end
|
50
56
|
it_without_mock_verification(description, &block)
|
51
|
-
verify_facon_mocks
|
52
57
|
end
|
53
58
|
end
|
54
59
|
|
data/lib/facon.rb
CHANGED
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: "0.
|
4
|
+
version: "0.2"
|
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-13 00:00:00 +08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|