public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Search Repo:
Sweet empty lines management in spec helper.
Michael S. Klishin (author)
Tue May 13 04:02:20 -0700 2008
commit  ceb783fc1d751636ad5986cebbcfd4a5755cda22
tree    582712e6b227a6d75d0033d1a43092e8b4ec6c17
parent  39fa3cb218576f8bba3c2b67eaa5860babbfb59b
...
7
8
9
10
 
11
12
13
14
15
16
...
16
17
18
19
20
21
22
23
24
25
26
27
28
...
43
44
45
46
47
48
49
50
51
52
53
54
...
52
53
54
55
56
57
 
58
59
 
60
61
62
 
 
63
64
65
66
 
67
68
69
70
 
71
...
7
8
9
 
10
11
12
13
14
15
16
...
16
17
18
 
19
 
20
 
21
 
22
23
24
...
39
40
41
 
42
43
44
45
46
47
48
49
...
47
48
49
 
50
 
51
52
 
53
54
 
 
55
56
57
58
59
60
61
62
63
64
 
65
66
0
@@ -7,7 +7,7 @@
0
 
0
 # A better +be_kind_of+ with more informative error messages.
0
 #
0
-# The default +be_kind_of+ just says
0
+# The default +be_kind_of+ just says
0
 #
0
 # "expected to return true but got false"
0
 #
0
0
0
0
@@ -16,13 +16,9 @@
0
 # "expected File but got Tempfile"
0
 
0
 module Merb
0
-
0
   module Test
0
-
0
     module RspecMatchers
0
-
0
       class BeKindOf
0
-
0
         def initialize(expected) # + args
0
           @expected = expected
0
         end
0
@@ -43,7 +39,6 @@
0
         def description
0
           "be_kind_of #{@target}"
0
         end
0
-
0
       end
0
 
0
       def be_kind_of(expected) # + args
0
0
0
0
0
0
@@ -52,21 +47,21 @@
0
     end
0
 
0
     module Helper
0
-
0
       def running(&blk) blk; end
0
-
0
+
0
       def executing(&blk) blk; end
0
-
0
+
0
       def doing(&blk) blk; end
0
-
0
- def calling(&blk) blk; end
0
+
0
+ def calling(&blk) blk; end
0
     end
0
   end
0
 end
0
 
0
+
0
 Spec::Runner.configure do |config|
0
   config.include Merb::Test::Helper
0
   config.include Merb::Test::RspecMatchers
0
- config.include Merb::Test::RequestHelper
0
+ config.include Merb::Test::RequestHelper
0
 end

Comments

    No one has commented yet.