public
Description: Piston is a utility that eases vendor branch management. This repository is a complete reimplementation of Piston to provide different backends, depending on the repositories and working copies you pistonize from.
Homepage: http://piston.rubyforge.org/
Clone URL: git://github.com/francois/piston.git
Search Repo:
Default recalled values are an empty Hash now.
francois (author)
Tue May 13 16:30:51 -0700 2008
commit  880fa0676dd04e9530252964b17b2f1065610274
tree    bc7e1777699ae13e1ce96a8176ae8ceb2e5365fb
parent  8daefdb007d2cd6b2a300ea0752a2353d046e525
...
10
11
12
13
 
14
15
16
...
10
11
12
 
13
14
15
16
0
@@ -10,7 +10,7 @@
0
 
0
     attr_reader :repository, :revision, :recalled_values
0
 
0
- def initialize(repository, revision, recalled_values = nil)
0
+ def initialize(repository, revision, recalled_values={})
0
       @repository, @revision, @recalled_values = repository, revision, recalled_values
0
     end
0
     
...
23
24
25
 
 
 
 
26
...
23
24
25
26
27
28
29
30
0
@@ -23,5 +23,9 @@
0
   def test_name
0
     assert_equal @revision_number, @revision.name
0
   end
0
+
0
+ def test_default_recalled_values_are_an_empty_hash
0
+ assert_equal Hash.new, @revision.recalled_values
0
+ end
0
 end

Comments

    No one has commented yet.