Sha256: dc490db3ba076311de0875937f3dbded7e2029d8b008a91f67148c86a622cae0
Contents?: true
Size: 1.38 KB
Versions: 5
Compression:
Stored size: 1.38 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>test_content_from_string_tree_should_return_submodule (TestTree)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File test/test_tree.rb, line 53</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_content_from_string_tree_should_return_submodule</span> <span class="ruby-identifier">text</span> = <span class="ruby-identifier">fixture</span>(<span class="ruby-value str">'ls_tree_submodule'</span>).<span class="ruby-identifier">split</span>(<span class="ruby-value str">"\n"</span>).<span class="ruby-identifier">first</span> <span class="ruby-identifier">sm</span> = <span class="ruby-ivar">@t</span>.<span class="ruby-identifier">content_from_string</span>(<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">text</span>) <span class="ruby-identifier">assert_kind_of</span> <span class="ruby-constant">Submodule</span>, <span class="ruby-identifier">sm</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
5 entries across 5 versions & 1 rubygems