I changed BaseTextFormatter<br><br> def backtrace_line(line)<br> line.sub(Dir.pwd, '.').sub(/\A([^:]+:\d+)$/, '\\1:')<br> end<br><br><br>This spec seems OS specific...<br><br><br><br>
/usr/local/bin/ruby /home/btakita/workspace/rspec/rspec/spec/spec/runner/formatter/html_formatter_spec.rb<br><br>F<br><br>1)<br>'HtmlFormatter should produce HTML identical to the one we designed manually' FAILED<br>
"<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<!DOCTYPE html\n PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n \"<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\</a>">\n\n<html xmlns=\"<a href="http://www.w3.org/1999/xhtml\">http://www.w3.org/1999/xhtml\</a>" xml:lang=\"en\" lang=\"en\">\n<head>\n <title>RSpec results</title>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />\n <meta http-equiv=\"Expires\" content=\"-1\" />\n <meta http-equiv=\"Pragma\" content=\"no-cache\" />\n <script type=\"text/javascript\">\n function moveProgressBar(percentDone) {\n
document.getElementById(\"header\").style.width = percentDone +\"%\";\n }\n function makeRed(element_id) {\n document.getElementById(element_id).style.background = '#C40D0D';\n }\n </script>\n <style type=\"text/css\">\n body {\n margin: 0; padding: 0;\n background: #fff;\n }\n\n #header {\n background: #65C400; color: #fff;\n }\n\n h1 {\n margin: 0 0 10px;\n padding: 10px;\n font: bold 18px \"Lucida Grande\", Helvetica, sans-serif;\n }\n\n #summary {\n margin: 0; padding: 5px 10px;\n font: bold 10px \"Lucida Grande\", Helvetica, sans-serif;\n text-align: right;\n position: absolute;\n top: 0px;\n right: 0px;\n }\n\n #summary p {\n margin: 0 0 2px;\n }\n\n #summary #totals {\n font-size: 14px;\n }\n\n .context {\n margin: 0 10px 5px;\n background: #fff;\n }\n\n dl {\n margin: 0; padding: 0 0 5px;\n font: normal 11px \"Lucida Grande\", Helvetica, sans-serif;\n }\n\n dt {\n padding: 3px;\n background: #65C400;\n color: #fff;\n font-weight: bold;\n }\n\n dd {\n margin: 5px 0 5px 5px;\n padding: 3px 3px 3px 18px;\n }\n\n
dd.spec.passed {\n border-left: 5px solid #65C400;\n border-bottom: 1px solid #65C400;\n background: #DBFFB4; color: #3D7700;\n }\n\n dd.spec.failed {\n border-left: 5px solid #C20000;\n border-bottom: 1px solid #C20000;\n color: #C20000; background: #FFFBD3;\n }\n\n
div.backtrace {\n color: #000;\n font-size: 12px;\n }\n\n a {\n color: #BE5C00;\n }\n </style>\n</head>\n<body>\n\n<div id=\"header\">\n <h1>RSpec Results</h1>\n\n <div id=\"summary\">\n <p id=\"duration\">&nbsp;</p>\n <p id=\"totals\">&nbsp;</p>\n </div>\n</div>\n\n<div id=\"results\">\n<div class=\"context\">\n <dl>\n <dt id=\"context_1\">Mocker</dt>\n <script type=\"text/javascript\">moveProgressBar('
7.6');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">should be able to call mock()</span></dd>\n <script type=\"text/javascript\">makeRed('header');</script>\n <script type=\"text/javascript\">makeRed('context_1');</script>\n <script type=\"text/javascript\">moveProgressBar('
15.3');</script>\n <dd class=\"spec failed\">\n <span class=\"failed_spec_name\">should fail when expected message not received</span>\n <div class=\"failure\" id=\"failure_1\">\n <div class=\"message\"><pre>Mock 'poke me' expected :poke with (any args) once, but received it 0 times</pre></div>\n <div class=\"backtrace\"><pre>./failing_examples/mocking_example.rb:13:\n./spec/spec/runner/formatter/html_formatter_spec.rb:16:\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:in `chdir'\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:in `each'\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:\n./spec/spec/runner/formatter/html_formatter_spec.rb:4:</pre></div>\n </div>\n </dd>\n <script type=\"text/javascript\">makeRed('header');</script>\n <script type=\"text/javascript\">makeRed('context_1');</script>\n <script type=\"text/javascript\">moveProgressBar('
23.0');</script>\n <dd class=\"spec failed\">\n <span class=\"failed_spec_name\">should fail when messages are received out of order</span>\n <div class=\"failure\" id=\"failure_2\">\n <div class=\"message\"><pre>Mock 'one two three' received :three out of order</pre></div>\n <div class=\"backtrace\"><pre>./failing_examples/mocking_example.rb:22:\n./spec/spec/runner/formatter/html_formatter_spec.rb:16:\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:in `chdir'\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:in `each'\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:\n./spec/spec/runner/formatter/html_formatter_spec.rb:4:</pre></div>\n </div>\n </dd>\n <script type=\"text/javascript\">makeRed('header');</script>\n <script type=\"text/javascript\">makeRed('context_1');</script>\n <script type=\"text/javascript\">moveProgressBar('
30.7');</script>\n <dd class=\"spec failed\">\n <span class=\"failed_spec_name\">should get yelled at when sending unexpected messages</span>\n <div class=\"failure\" id=\"failure_3\">\n <div class=\"message\"><pre>Mock 'don't talk to me' expected :any_message_at_all with (any args) 0 times, but received it once</pre></div>\n <div class=\"backtrace\"><pre>./failing_examples/mocking_example.rb:28:\n./spec/spec/runner/formatter/html_formatter_spec.rb:16:\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:in `chdir'\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:in `each'\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:\n./spec/spec/runner/formatter/html_formatter_spec.rb:4:</pre></div>\n </div>\n </dd>\n </dl>\n</div>\n<div class=\"context\">\n <dl>\n <dt id=\"context_2\">Running specs with --diff</dt>\n <script type=\"text/javascript\">makeRed('header');</script>\n <script type=\"text/javascript\">makeRed('context_2');</script>\n <script type=\"text/javascript\">moveProgressBar('
38.4');</script>\n <dd class=\"spec failed\">\n <span class=\"failed_spec_name\">should print diff of different strings</span>\n <div class=\"failure\" id=\"failure_4\">\n <div class=\"message\"><pre>&quot;RSpec is a\\nbehavior driven development\\nframework for Ruby\\n&quot; should == &quot;RSpec is a\\nbehaviour driven development\\nframework for Ruby\\n&quot;\nDiff:\n@@ -1,4 +1,4 @@\n RSpec is a\n-behavior driven development\n+behaviour driven development\n framework for Ruby\n</pre></div>\n <div class=\"backtrace\"><pre>./failing_examples/diffing_spec.rb:13:\n./spec/spec/runner/formatter/html_formatter_spec.rb:16:\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:in `chdir'\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:in `each'\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:\n./spec/spec/runner/formatter/html_formatter_spec.rb:4:</pre></div>\n </div>\n </dd>\n <script type=\"text/javascript\">makeRed('header');</script>\n <script type=\"text/javascript\">makeRed('context_2');</script>\n <script type=\"text/javascript\">moveProgressBar('
46.1');</script>\n <dd class=\"spec failed\">\n <span class=\"failed_spec_name\">should print diff of different objects' pretty representation</span>\n <div class=\"failure\" id=\"failure_5\">\n <div class=\"message\"><pre>&lt;Animal\nname=bob,\nspecies=giraffe\n&gt;\n should eql &lt;Animal\nname=bob,\nspecies=tortoise\n&gt;\n\nDiff:\n@@ -1,5 +1,5 @@\n &lt;Animal\n name=bob,\n-species=giraffe\n+species=tortoise\n &gt;\n</pre></div>\n <div class=\"backtrace\"><pre>./failing_examples/diffing_spec.rb:34:\n./spec/spec/runner/formatter/html_formatter_spec.rb:16:\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:in `chdir'\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:in `each'\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:\n./spec/spec/runner/formatter/html_formatter_spec.rb:4:</pre></div>\n </div>\n </dd>\n </dl>\n</div>\n<div class=\"context\">\n <dl>\n <dt id=\"context_3\">A consumer of a stub</dt>\n <script type=\"text/javascript\">moveProgressBar('
53.8');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">should be able to stub methods on any Object</span></dd>\n </dl>\n</div>\n<div class=\"context\">\n <dl>\n <dt id=\"context_4\">A stubbed method on a class</dt>\n <script type=\"text/javascript\">moveProgressBar('
61.5');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">should return the stubbed value</span></dd>\n <script type=\"text/javascript\">moveProgressBar('
69.2');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">should revert to the original method after each spec</span></dd>\n <script type=\"text/javascript\">moveProgressBar('
76.9');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">can stub! and mock the same message</span></dd>\n </dl>\n</div>\n<div class=\"context\">\n <dl>\n <dt id=\"context_5\">A mock</dt>\n <script type=\"text/javascript\">moveProgressBar('
84.6');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">can stub!</span></dd>\n <script type=\"text/javascript\">moveProgressBar('
92.3');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">can stub! and mock</span></dd>\n <script type=\"text/javascript\">moveProgressBar('
100.0');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">can stub! and mock the same message</span></dd>\n </dl>\n</div>\n<script type=\"text/javascript\">
document.getElementById('duration').innerHTML = \"Finished in <strong>x seconds</strong>\";</script>\n<script type=\"text/javascript\">document.getElementById('totals').innerHTML = \"13 specifications, 5 failures\";</script>\n</div>\n</body>\n</html>\n" should == "<?xml version=\"
1.0\" encoding=\"iso-8859-1\"?>\n<!DOCTYPE html\n PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n \"<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\
</a>">\n\n<html xmlns=\"<a href="http://www.w3.org/1999/xhtml\">http://www.w3.org/1999/xhtml\</a>" xml:lang=\"en\" lang=\"en\">\n<head>\n <title>RSpec results</title>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />\n <meta http-equiv=\"Expires\" content=\"-1\" />\n <meta http-equiv=\"Pragma\" content=\"no-cache\" />\n <script type=\"text/javascript\">\n function moveProgressBar(percentDone) {\n
document.getElementById(\"header\").style.width = percentDone +\"%\";\n }\n function makeRed(element_id) {\n document.getElementById(element_id).style.background = '#C40D0D';\n }\n </script>\n <style type=\"text/css\">\n body {\n margin: 0; padding: 0;\n background: #fff;\n }\n\n #header {\n background: #65C400; color: #fff;\n }\n\n h1 {\n margin: 0 0 10px;\n padding: 10px;\n font: bold 18px \"Lucida Grande\", Helvetica, sans-serif;\n }\n\n #summary {\n margin: 0; padding: 5px 10px;\n font: bold 10px \"Lucida Grande\", Helvetica, sans-serif;\n text-align: right;\n position: absolute;\n top: 0px;\n right: 0px;\n }\n\n #summary p {\n margin: 0 0 2px;\n }\n\n #summary #totals {\n font-size: 14px;\n }\n\n .context {\n margin: 0 10px 5px;\n background: #fff;\n }\n\n dl {\n margin: 0; padding: 0 0 5px;\n font: normal 11px \"Lucida Grande\", Helvetica, sans-serif;\n }\n\n dt {\n padding: 3px;\n background: #65C400;\n color: #fff;\n font-weight: bold;\n }\n\n dd {\n margin: 5px 0 5px 5px;\n padding: 3px 3px 3px 18px;\n }\n\n
dd.spec.passed {\n border-left: 5px solid #65C400;\n border-bottom: 1px solid #65C400;\n background: #DBFFB4; color: #3D7700;\n }\n\n dd.spec.failed {\n border-left: 5px solid #C20000;\n border-bottom: 1px solid #C20000;\n color: #C20000; background: #FFFBD3;\n }\n\n
div.backtrace {\n color: #000;\n font-size: 12px;\n }\n\n a {\n color: #BE5C00;\n }\n </style>\n</head>\n<body>\n\n<div id=\"header\">\n <h1>RSpec Results</h1>\n\n <div id=\"summary\">\n <p id=\"duration\">&nbsp;</p>\n <p id=\"totals\">&nbsp;</p>\n </div>\n</div>\n\n<div id=\"results\">\n<div class=\"context\">\n <dl>\n <dt id=\"context_1\">Mocker</dt>\n <script type=\"text/javascript\">moveProgressBar('
7.6');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">should be able to call mock()</span></dd>\n <script type=\"text/javascript\">makeRed('header');</script>\n <script type=\"text/javascript\">makeRed('context_1');</script>\n <script type=\"text/javascript\">moveProgressBar('
15.3');</script>\n <dd class=\"spec failed\">\n <span class=\"failed_spec_name\">should fail when expected message not received</span>\n <div class=\"failure\" id=\"failure_1\">\n <div class=\"message\"><pre>Mock 'poke me' expected :poke with (any args) once, but received it 0 times</pre></div>\n <div class=\"backtrace\"><pre>./failing_examples/mocking_example.rb:13:\n./spec/spec/runner/formatter/html_formatter_spec.rb:16:\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:</pre></div>\n </div>\n </dd>\n <script type=\"text/javascript\">makeRed('header');</script>\n <script type=\"text/javascript\">makeRed('context_1');</script>\n <script type=\"text/javascript\">moveProgressBar('
23.0');</script>\n <dd class=\"spec failed\">\n <span class=\"failed_spec_name\">should fail when messages are received out of order</span>\n <div class=\"failure\" id=\"failure_2\">\n <div class=\"message\"><pre>Mock 'one two three' received :three out of order</pre></div>\n <div class=\"backtrace\"><pre>./failing_examples/mocking_example.rb:22:\n./spec/spec/runner/formatter/html_formatter_spec.rb:16:\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:</pre></div>\n </div>\n </dd>\n <script type=\"text/javascript\">makeRed('header');</script>\n <script type=\"text/javascript\">makeRed('context_1');</script>\n <script type=\"text/javascript\">moveProgressBar('
30.7');</script>\n <dd class=\"spec failed\">\n <span class=\"failed_spec_name\">should get yelled at when sending unexpected messages</span>\n <div class=\"failure\" id=\"failure_3\">\n <div class=\"message\"><pre>Mock 'don't talk to me' expected :any_message_at_all with (any args) 0 times, but received it once</pre></div>\n <div class=\"backtrace\"><pre>./failing_examples/mocking_example.rb:28:\n./spec/spec/runner/formatter/html_formatter_spec.rb:16:\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:</pre></div>\n </div>\n </dd>\n </dl>\n</div>\n<div class=\"context\">\n <dl>\n <dt id=\"context_2\">Running specs with --diff</dt>\n <script type=\"text/javascript\">makeRed('header');</script>\n <script type=\"text/javascript\">makeRed('context_2');</script>\n <script type=\"text/javascript\">moveProgressBar('
38.4');</script>\n <dd class=\"spec failed\">\n <span class=\"failed_spec_name\">should print diff of different strings</span>\n <div class=\"failure\" id=\"failure_4\">\n <div class=\"message\"><pre>&quot;RSpec is a\\nbehavior driven development\\nframework for Ruby\\n&quot; should == &quot;RSpec is a\\nbehaviour driven development\\nframework for Ruby\\n&quot;\nDiff:\n@@ -1,4 +1,4 @@\n RSpec is a\n-behavior driven development\n+behaviour driven development\n framework for Ruby\n</pre></div>\n <div class=\"backtrace\"><pre>./failing_examples/diffing_spec.rb:13:\n./spec/spec/runner/formatter/html_formatter_spec.rb:16:\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:</pre></div>\n </div>\n </dd>\n <script type=\"text/javascript\">makeRed('header');</script>\n <script type=\"text/javascript\">makeRed('context_2');</script>\n <script type=\"text/javascript\">moveProgressBar('
46.1');</script>\n <dd class=\"spec failed\">\n <span class=\"failed_spec_name\">should print diff of different objects' pretty representation</span>\n <div class=\"failure\" id=\"failure_5\">\n <div class=\"message\"><pre>&lt;Animal\nname=bob,\nspecies=giraffe\n&gt;\n should eql &lt;Animal\nname=bob,\nspecies=tortoise\n&gt;\n\nDiff:\n@@ -1,5 +1,5 @@\n &lt;Animal\n name=bob,\n-species=giraffe\n+species=tortoise\n &gt;\n</pre></div>\n <div class=\"backtrace\"><pre>./failing_examples/diffing_spec.rb:34:\n./spec/spec/runner/formatter/html_formatter_spec.rb:16:\n./spec/spec/runner/formatter/html_formatter_spec.rb:12:\n./spec/spec/runner/formatter/html_formatter_spec.rb:11:</pre></div>\n </div>\n </dd>\n </dl>\n</div>\n<div class=\"context\">\n <dl>\n <dt id=\"context_3\">A consumer of a stub</dt>\n <script type=\"text/javascript\">moveProgressBar('
53.8');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">should be able to stub methods on any Object</span></dd>\n </dl>\n</div>\n<div class=\"context\">\n <dl>\n <dt id=\"context_4\">A stubbed method on a class</dt>\n <script type=\"text/javascript\">moveProgressBar('
61.5');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">should return the stubbed value</span></dd>\n <script type=\"text/javascript\">moveProgressBar('
69.2');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">should revert to the original method after each spec</span></dd>\n <script type=\"text/javascript\">moveProgressBar('
76.9');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">can stub! and mock the same message</span></dd>\n </dl>\n</div>\n<div class=\"context\">\n <dl>\n <dt id=\"context_5\">A mock</dt>\n <script type=\"text/javascript\">moveProgressBar('
84.6');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">can stub!</span></dd>\n <script type=\"text/javascript\">moveProgressBar('
92.3');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">can stub! and mock</span></dd>\n <script type=\"text/javascript\">moveProgressBar('
100.0');</script>\n <dd class=\"spec passed\"><span class=\"passed_spec_name\">can stub! and mock the same message</span></dd>\n </dl>\n</div>\n<script type=\"text/javascript\">
document.getElementById('duration').innerHTML = \"Finished in <strong>x seconds</strong>\";</script>\n<script type=\"text/javascript\">document.getElementById('totals').innerHTML = \"13 specifications, 5 failures\";</script>\n</div>\n</body>\n</html>\n"
<br>Diff:<br><br>@@ -120,11 +120,8 @@<br> <div class="message"><pre>Mock 'poke me' expected :poke with (any args) once, but received it 0 times</pre></div><br> <div class="backtrace"><pre>./failing_examples/mocking_example.rb:13:
<br> ./spec/spec/runner/formatter/html_formatter_spec.rb:16:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:12:in `chdir'<br> ./spec/spec/runner/formatter/html_formatter_spec.rb:12:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:11:in `each'
<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:11:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:4:</pre></div><br>+./spec/spec/runner/formatter/html_formatter_spec.rb:11:</pre></div>
<br> </div><br> </dd><br> <script type="text/javascript">makeRed('header');</script><br><br>@@ -136,11 +133,8 @@<br> <div class="message"><pre>Mock 'one two three' received :three out of order</pre></div>
<br> <div class="backtrace"><pre>./failing_examples/mocking_example.rb:22:<br> ./spec/spec/runner/formatter/html_formatter_spec.rb:16:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:12:in `chdir'
<br> ./spec/spec/runner/formatter/html_formatter_spec.rb:12:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:11:in `each'<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:11:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:4:</pre></div>
<br>+./spec/spec/runner/formatter/html_formatter_spec.rb:11:</pre></div><br> </div><br> </dd><br> <script type="text/javascript">makeRed('header');</script>
<br><br>@@ -152,11 +146,8 @@<br> <div class="message"><pre>Mock 'don't talk to me' expected :any_message_at_all with (any args) 0 times, but received it once</pre></div>
<br> <div class="backtrace"><pre>./failing_examples/mocking_example.rb:28:<br> ./spec/spec/runner/formatter/html_formatter_spec.rb:16:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:12:in `chdir'
<br> ./spec/spec/runner/formatter/html_formatter_spec.rb:12:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:11:in `each'<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:11:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:4:</pre></div>
<br>+./spec/spec/runner/formatter/html_formatter_spec.rb:11:</pre></div><br> </div><br> </dd><br> </dl><br><br>@@ -180,11 +171,8 @@<br> </pre></div><br> <div class="backtrace"><pre>./failing_examples/diffing_spec.rb:13:
<br> ./spec/spec/runner/formatter/html_formatter_spec.rb:16:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:12:in `chdir'<br> ./spec/spec/runner/formatter/html_formatter_spec.rb:12:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:11:in `each'
<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:11:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:4:</pre></div><br>+./spec/spec/runner/formatter/html_formatter_spec.rb:11:</pre></div>
<br> </div><br> </dd><br> <script type="text/javascript">makeRed('header');</script><br><br>@@ -212,11 +200,8 @@<br> </pre></div><br> <div class="backtrace"><pre>./failing_examples/diffing_spec.rb:34:
<br> ./spec/spec/runner/formatter/html_formatter_spec.rb:16:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:12:in `chdir'<br> ./spec/spec/runner/formatter/html_formatter_spec.rb:12:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:11:in `each'
<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:11:<br>-./spec/spec/runner/formatter/html_formatter_spec.rb:4:</pre></div><br>+./spec/spec/runner/formatter/html_formatter_spec.rb:11:</pre></div>
<br> </div><br> </dd><br> </dl><br>./rspec/spec/spec/runner/formatter/html_formatter_spec.rb:31:<br>./rspec/spec/spec/runner/formatter/html_formatter_spec.rb:12:in `chdir'<br>./rspec/spec/spec/runner/formatter/html_formatter_spec.rb:12:
<br>./rspec/spec/spec/runner/formatter/html_formatter_spec.rb:11:in `each'<br>./rspec/spec/spec/runner/formatter/html_formatter_spec.rb:11:<br>./rspec/spec/spec/runner/formatter/html_formatter_spec.rb:4:<br><br>Finished in
0.235957 seconds<br><br>1 specification, 1 failure<br><br>Process finished with exit code 0<br><br><br><div><span class="gmail_quote">On 1/6/07, <b class="gmail_sendername">Brian Takita</b> <<a href="mailto:brian.takita@gmail.com">
brian.takita@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It has to do with the backtraces.<br><br>Actual:
<br><dl><dd>
<span>should fail when expected message not received</span>
<div>
<div><pre>Mock 'poke me' expected :poke with (any args) once, but received it 0 times</pre></div>
<div><pre>./failing_examples/mocking_example.rb:13:<br>/home/btakita/workspace/rspec/rspec/spec/spec/runner/formatter/html_formatter_spec.rb:16:<br>/home/btakita/workspace/rspec/rspec/spec/spec/runner/formatter/html_formatter_spec.rb:12:in `chdir'
<br><br>/home/btakita/workspace/rspec/rspec/spec/spec/runner/formatter/html_formatter_spec.rb:12:<br>/home/btakita/workspace/rspec/rspec/spec/spec/runner/formatter/html_formatter_spec.rb:11:in `each'<br>/home/btakita/workspace/rspec/rspec/spec/spec/runner/formatter/html_formatter_spec.rb:11:
<br><br>/home/btakita/workspace/rspec/rspec/spec/spec/runner/formatter/html_formatter_spec.rb:4:</pre></div>
</div>
</dd></dl><br>Expected:<br><br><dl><dd>
<span>should fail when expected message not received</span>
<div>
<div><pre>Mock 'poke me' expected :poke with (any args) once, but received it 0 times</pre></div>
<div><pre>./failing_examples/mocking_example.rb:13:<br>./spec/spec/runner/formatter/html_formatter_spec.rb:16:<br>./spec/spec/runner/formatter/html_formatter_spec.rb:12:<br>./spec/spec/runner/formatter/html_formatter_spec.rb:11:
<br></pre></div>
</div>
</dd></dl><div><span class="e" id="q_10ff70db42eefeec_1"><br><br>On 1/6/07, <b class="gmail_sendername">Brian Takita</b> <<a href="mailto:brian.takita@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
brian.takita@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>The build is breaking for me.<br><br>1) 'HtmlFormatter should produce HTML identical to the one we designed manually' FAILED<br><br>Is anybody else having this issue? I seem to remember getting this before.
<br><br>Thanks,<br><span>Brian<br>
</span></blockquote></div><br>
</span></div></blockquote></div><br>