rspec-core 2.13.1 → 2.14.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog.md +80 -0
- data/exe/autospec +1 -1
- data/features/README.md +2 -2
- data/features/command_line/format_option.feature +8 -14
- data/features/command_line/line_number_appended_to_path.feature +4 -4
- data/features/command_line/line_number_option.feature +1 -1
- data/features/command_line/rake_task.feature +2 -2
- data/features/command_line/require_option.feature +43 -0
- data/features/command_line/ruby.feature +2 -2
- data/features/command_line/warnings_option.feature +27 -0
- data/features/configuration/backtrace_clean_patterns.feature +2 -2
- data/features/configuration/deprecation_stream.feature +58 -0
- data/features/configuration/pattern.feature +8 -0
- data/features/configuration/profile.feature +59 -2
- data/features/configuration/read_options_from_file.feature +8 -5
- data/features/configuration/run_all_when_everything_filtered.feature +20 -4
- data/features/example_groups/basic_structure.feature +1 -1
- data/features/example_groups/shared_context.feature +1 -1
- data/features/example_groups/shared_examples.feature +72 -0
- data/features/filtering/exclusion_filters.feature +10 -10
- data/features/formatters/custom_formatter.feature +1 -1
- data/features/hooks/before_and_after_hooks.feature +19 -19
- data/features/mock_framework_integration/use_any_framework.feature +6 -6
- data/features/mock_framework_integration/use_flexmock.feature +3 -3
- data/features/mock_framework_integration/use_mocha.feature +3 -3
- data/features/mock_framework_integration/use_rr.feature +3 -3
- data/features/mock_framework_integration/use_rspec.feature +3 -3
- data/features/subject/implicit_subject.feature +1 -1
- data/lib/rspec/core.rb +20 -3
- data/lib/rspec/core/backtrace_cleaner.rb +46 -0
- data/lib/rspec/core/backward_compatibility.rb +3 -13
- data/lib/rspec/core/configuration.rb +136 -49
- data/lib/rspec/core/configuration_options.rb +19 -8
- data/lib/rspec/core/deprecation.rb +18 -30
- data/lib/rspec/core/example.rb +3 -3
- data/lib/rspec/core/example_group.rb +4 -3
- data/lib/rspec/core/extensions/kernel.rb +1 -1
- data/lib/rspec/core/filter_manager.rb +1 -1
- data/lib/rspec/core/formatters.rb +1 -1
- data/lib/rspec/core/formatters/base_formatter.rb +10 -1
- data/lib/rspec/core/formatters/base_text_formatter.rb +47 -10
- data/lib/rspec/core/formatters/deprecation_formatter.rb +35 -0
- data/lib/rspec/core/formatters/helpers.rb +12 -5
- data/lib/rspec/core/formatters/html_formatter.rb +7 -6
- data/lib/rspec/core/formatters/html_printer.rb +13 -12
- data/lib/rspec/core/formatters/json_formatter.rb +1 -2
- data/lib/rspec/core/formatters/text_mate_formatter.rb +1 -1
- data/lib/rspec/core/hooks.rb +9 -0
- data/lib/rspec/core/memoized_helpers.rb +19 -8
- data/lib/rspec/core/metadata.rb +3 -1
- data/lib/rspec/core/mocking/with_flexmock.rb +1 -1
- data/lib/rspec/core/mocking/with_rr.rb +1 -1
- data/lib/rspec/core/option_parser.rb +6 -2
- data/lib/rspec/core/pending.rb +1 -0
- data/lib/rspec/core/rake_task.rb +11 -19
- data/lib/rspec/core/reporter.rb +33 -4
- data/lib/rspec/core/shared_example_group.rb +56 -16
- data/lib/rspec/core/shared_example_group/collection.rb +42 -0
- data/lib/rspec/core/version.rb +1 -1
- data/lib/rspec/core/world.rb +2 -3
- data/spec/autotest/rspec_spec.rb +2 -2
- data/spec/rspec/core/backtrace_cleaner_spec.rb +68 -0
- data/spec/rspec/core/configuration_options_spec.rb +15 -4
- data/spec/rspec/core/configuration_spec.rb +202 -19
- data/spec/rspec/core/deprecation_spec.rb +41 -0
- data/spec/rspec/core/deprecations_spec.rb +10 -12
- data/spec/rspec/core/drb_command_line_spec.rb +1 -1
- data/spec/rspec/core/example_group_spec.rb +37 -36
- data/spec/rspec/core/example_spec.rb +25 -4
- data/spec/rspec/core/filter_manager_spec.rb +6 -6
- data/spec/rspec/core/formatters/base_text_formatter_spec.rb +101 -36
- data/spec/rspec/core/formatters/deprecation_formatter_spec.rb +78 -0
- data/spec/rspec/core/formatters/documentation_formatter_spec.rb +2 -2
- data/spec/rspec/core/formatters/helpers_spec.rb +23 -7
- data/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +20 -14
- data/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +69 -169
- data/spec/rspec/core/formatters/html_formatted-1.8.7.html +28 -23
- data/spec/rspec/core/formatters/html_formatted-1.9.2.html +42 -33
- data/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +17 -23
- data/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +57 -157
- data/spec/rspec/core/formatters/html_formatted-1.9.3.html +42 -33
- data/spec/rspec/core/formatters/html_formatted-2.0.0.html +42 -33
- data/spec/rspec/core/formatters/html_formatter_spec.rb +1 -0
- data/spec/rspec/core/formatters/progress_formatter_spec.rb +3 -3
- data/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +11 -14
- data/spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html +103 -203
- data/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +30 -25
- data/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +42 -33
- data/spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html +20 -14
- data/spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html +103 -203
- data/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +42 -33
- data/spec/rspec/core/formatters/text_mate_formatted-2.0.0.html +42 -33
- data/spec/rspec/core/formatters/text_mate_formatter_spec.rb +1 -0
- data/spec/rspec/core/memoized_helpers_spec.rb +28 -0
- data/spec/rspec/core/metadata_spec.rb +8 -3
- data/spec/rspec/core/option_parser_spec.rb +8 -0
- data/spec/rspec/core/project_initializer_spec.rb +2 -2
- data/spec/rspec/core/rake_task_spec.rb +8 -8
- data/spec/rspec/core/reporter_spec.rb +26 -6
- data/spec/rspec/core/resources/formatter_specs.rb +3 -3
- data/spec/rspec/core/shared_context_spec.rb +20 -0
- data/spec/rspec/core/shared_example_group/collection_spec.rb +70 -0
- data/spec/rspec/core/shared_example_group_spec.rb +4 -4
- data/spec/rspec/core/world_spec.rb +1 -3
- data/spec/rspec/core_spec.rb +20 -0
- data/spec/spec_helper.rb +29 -29
- data/spec/support/helper_methods.rb +9 -1
- data/spec/support/isolate_load_path_mutation.rb +6 -0
- data/spec/support/sandboxed_mock_space.rb +100 -0
- metadata +28 -13
- data/features/filtering/run_all_when_everything_filtered.feature +0 -46
- data/lib/rspec/core/load_path.rb +0 -3
@@ -1,8 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang='en'>
|
6
3
|
<head>
|
7
4
|
<title>RSpec results</title>
|
8
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
@@ -269,14 +266,14 @@ a {
|
|
269
266
|
</div>
|
270
267
|
|
271
268
|
<div id="display-filters">
|
272
|
-
<input id="passed_checkbox"
|
273
|
-
<input id="failed_checkbox"
|
274
|
-
<input id="pending_checkbox" name="pending_checkbox" type="checkbox" checked onchange="apply_filters()" value="3"
|
269
|
+
<input id="passed_checkbox" name="passed_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="1" /> <label for="passed_checkbox">Passed</label>
|
270
|
+
<input id="failed_checkbox" name="failed_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="2" /> <label for="failed_checkbox">Failed</label>
|
271
|
+
<input id="pending_checkbox" name="pending_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="3" /> <label for="pending_checkbox">Pending</label>
|
275
272
|
</div>
|
276
273
|
|
277
274
|
<div id="summary">
|
278
|
-
<p id="totals"
|
279
|
-
<p id="duration"
|
275
|
+
<p id="totals"> </p>
|
276
|
+
<p id="duration"> </p>
|
280
277
|
</div>
|
281
278
|
</div>
|
282
279
|
|
@@ -320,12 +317,16 @@ a {
|
|
320
317
|
<div class="failure" id="failure_1">
|
321
318
|
<div class="message"><pre>RSpec::Core::Pending::PendingExampleFixedError</pre></div>
|
322
319
|
<div class="backtrace"><pre>./spec/rspec/core/resources/formatter_specs.rb:18
|
323
|
-
./spec/
|
324
|
-
./spec/
|
325
|
-
./spec/
|
326
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
327
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
328
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
320
|
+
./spec/support/sandboxed_mock_space.rb:33:in `run'
|
321
|
+
./spec/support/sandboxed_mock_space.rb:72:in `sandboxed'
|
322
|
+
./spec/support/sandboxed_mock_space.rb:32:in `run'
|
323
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:37:in `generated_html'
|
324
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59
|
325
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `open'
|
326
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59
|
327
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:58:in `chdir'
|
328
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:58
|
329
|
+
./spec/support/sandboxed_mock_space.rb:38:in `sandboxed'</pre></div>
|
329
330
|
<pre class="ruby"><code><span class="linenum">16</span> <span class="ident">context</span> <span class="punct">"</span><span class="string">with content that would pass</span><span class="punct">"</span> <span class="keyword">do</span>
|
330
331
|
<span class="linenum">17</span> <span class="ident">it</span> <span class="punct">"</span><span class="string">fails</span><span class="punct">"</span> <span class="keyword">do</span>
|
331
332
|
<span class="offending"><span class="linenum">18</span> <span class="ident">pending</span> <span class="keyword">do</span></span>
|
@@ -359,12 +360,16 @@ expected: 2
|
|
359
360
|
(compared using ==)
|
360
361
|
</pre></div>
|
361
362
|
<div class="backtrace"><pre>./spec/rspec/core/resources/formatter_specs.rb:33
|
362
|
-
./spec/
|
363
|
-
./spec/
|
364
|
-
./spec/
|
365
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
366
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
367
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
363
|
+
./spec/support/sandboxed_mock_space.rb:33:in `run'
|
364
|
+
./spec/support/sandboxed_mock_space.rb:72:in `sandboxed'
|
365
|
+
./spec/support/sandboxed_mock_space.rb:32:in `run'
|
366
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:37:in `generated_html'
|
367
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59
|
368
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `open'
|
369
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59
|
370
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:58:in `chdir'
|
371
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:58
|
372
|
+
./spec/support/sandboxed_mock_space.rb:38:in `sandboxed'</pre></div>
|
368
373
|
<pre class="ruby"><code><span class="linenum">31</span><span class="ident">describe</span> <span class="punct">"</span><span class="string">failing spec</span><span class="punct">"</span> <span class="keyword">do</span>
|
369
374
|
<span class="linenum">32</span> <span class="ident">it</span> <span class="punct">"</span><span class="string">fails</span><span class="punct">"</span> <span class="keyword">do</span>
|
370
375
|
<span class="offending"><span class="linenum">33</span> <span class="ident">expect</span><span class="punct">(</span><span class="number">1</span><span class="punct">).</span><span class="ident">to</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">2</span><span class="punct">)</span></span>
|
@@ -395,7 +400,7 @@ expected: 2
|
|
395
400
|
<span class="duration">n.nnnns</span>
|
396
401
|
<div class="failure" id="failure_4">
|
397
402
|
<div class="message"><pre>Exception</pre></div>
|
398
|
-
<div class="backtrace"><pre>/foo.html.erb:1:in
|
403
|
+
<div class="backtrace"><pre>/foo.html.erb:1:in `<main>': foo (RuntimeError)</pre></div>
|
399
404
|
<pre class="ruby"><code><span class="linenum">-1</span><span class="comment"># Couldn't get snippet for /foo.html.erb</span></code></pre>
|
400
405
|
</div>
|
401
406
|
</dd>
|
@@ -1,8 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang='en'>
|
6
3
|
<head>
|
7
4
|
<title>RSpec results</title>
|
8
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
@@ -269,14 +266,14 @@ a {
|
|
269
266
|
</div>
|
270
267
|
|
271
268
|
<div id="display-filters">
|
272
|
-
<input id="passed_checkbox"
|
273
|
-
<input id="failed_checkbox"
|
274
|
-
<input id="pending_checkbox" name="pending_checkbox" type="checkbox" checked onchange="apply_filters()" value="3"
|
269
|
+
<input id="passed_checkbox" name="passed_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="1" /> <label for="passed_checkbox">Passed</label>
|
270
|
+
<input id="failed_checkbox" name="failed_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="2" /> <label for="failed_checkbox">Failed</label>
|
271
|
+
<input id="pending_checkbox" name="pending_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="3" /> <label for="pending_checkbox">Pending</label>
|
275
272
|
</div>
|
276
273
|
|
277
274
|
<div id="summary">
|
278
|
-
<p id="totals"
|
279
|
-
<p id="duration"
|
275
|
+
<p id="totals"> </p>
|
276
|
+
<p id="duration"> </p>
|
280
277
|
</div>
|
281
278
|
</div>
|
282
279
|
|
@@ -319,13 +316,17 @@ a {
|
|
319
316
|
<span class="duration">n.nnnns</span>
|
320
317
|
<div class="failure" id="failure_1">
|
321
318
|
<div class="message"><pre>RSpec::Core::Pending::PendingExampleFixedError</pre></div>
|
322
|
-
<div class="backtrace"><pre>./spec/rspec/core/resources/formatter_specs.rb:18:in `block (3 levels) in
|
323
|
-
./spec/
|
324
|
-
./spec/
|
325
|
-
./spec/
|
326
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
327
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
328
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
319
|
+
<div class="backtrace"><pre>./spec/rspec/core/resources/formatter_specs.rb:18:in `block (3 levels) in <top (required)>'
|
320
|
+
./spec/support/sandboxed_mock_space.rb:33:in `block in run'
|
321
|
+
./spec/support/sandboxed_mock_space.rb:72:in `sandboxed'
|
322
|
+
./spec/support/sandboxed_mock_space.rb:32:in `run'
|
323
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:37:in `block (2 levels) in <module:Formatters>'
|
324
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `block (5 levels) in <module:Formatters>'
|
325
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `open'
|
326
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `block (4 levels) in <module:Formatters>'
|
327
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:58:in `chdir'
|
328
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:58:in `block (3 levels) in <module:Formatters>'
|
329
|
+
./spec/support/sandboxed_mock_space.rb:38:in `sandboxed'</pre></div>
|
329
330
|
<pre class="ruby"><code><span class="linenum">16</span> <span class="ident">context</span> <span class="punct">"</span><span class="string">with content that would pass</span><span class="punct">"</span> <span class="keyword">do</span>
|
330
331
|
<span class="linenum">17</span> <span class="ident">it</span> <span class="punct">"</span><span class="string">fails</span><span class="punct">"</span> <span class="keyword">do</span>
|
331
332
|
<span class="offending"><span class="linenum">18</span> <span class="ident">pending</span> <span class="keyword">do</span></span>
|
@@ -358,13 +359,17 @@ expected: 2
|
|
358
359
|
|
359
360
|
(compared using ==)
|
360
361
|
</pre></div>
|
361
|
-
<div class="backtrace"><pre>./spec/rspec/core/resources/formatter_specs.rb:33:in `block (2 levels) in
|
362
|
-
./spec/
|
363
|
-
./spec/
|
364
|
-
./spec/
|
365
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
366
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
367
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
362
|
+
<div class="backtrace"><pre>./spec/rspec/core/resources/formatter_specs.rb:33:in `block (2 levels) in <top (required)>'
|
363
|
+
./spec/support/sandboxed_mock_space.rb:33:in `block in run'
|
364
|
+
./spec/support/sandboxed_mock_space.rb:72:in `sandboxed'
|
365
|
+
./spec/support/sandboxed_mock_space.rb:32:in `run'
|
366
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:37:in `block (2 levels) in <module:Formatters>'
|
367
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `block (5 levels) in <module:Formatters>'
|
368
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `open'
|
369
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `block (4 levels) in <module:Formatters>'
|
370
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:58:in `chdir'
|
371
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:58:in `block (3 levels) in <module:Formatters>'
|
372
|
+
./spec/support/sandboxed_mock_space.rb:38:in `sandboxed'</pre></div>
|
368
373
|
<pre class="ruby"><code><span class="linenum">31</span><span class="ident">describe</span> <span class="punct">"</span><span class="string">failing spec</span><span class="punct">"</span> <span class="keyword">do</span>
|
369
374
|
<span class="linenum">32</span> <span class="ident">it</span> <span class="punct">"</span><span class="string">fails</span><span class="punct">"</span> <span class="keyword">do</span>
|
370
375
|
<span class="offending"><span class="linenum">33</span> <span class="ident">expect</span><span class="punct">(</span><span class="number">1</span><span class="punct">).</span><span class="ident">to</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">2</span><span class="punct">)</span></span>
|
@@ -385,14 +390,18 @@ expected: 2
|
|
385
390
|
<span class="duration">n.nnnns</span>
|
386
391
|
<div class="failure" id="failure_3">
|
387
392
|
<div class="message"><pre>foo</pre></div>
|
388
|
-
<div class="backtrace"><pre>(erb):1:in
|
389
|
-
./spec/rspec/core/resources/formatter_specs.rb:41:in `block (2 levels) in
|
390
|
-
./spec/
|
391
|
-
./spec/
|
392
|
-
./spec/
|
393
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
394
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
395
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:
|
393
|
+
<div class="backtrace"><pre>(erb):1:in `<main>'
|
394
|
+
./spec/rspec/core/resources/formatter_specs.rb:41:in `block (2 levels) in <top (required)>'
|
395
|
+
./spec/support/sandboxed_mock_space.rb:33:in `block in run'
|
396
|
+
./spec/support/sandboxed_mock_space.rb:72:in `sandboxed'
|
397
|
+
./spec/support/sandboxed_mock_space.rb:32:in `run'
|
398
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:37:in `block (2 levels) in <module:Formatters>'
|
399
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `block (5 levels) in <module:Formatters>'
|
400
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `open'
|
401
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `block (4 levels) in <module:Formatters>'
|
402
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:58:in `chdir'
|
403
|
+
./spec/rspec/core/formatters/html_formatter_spec.rb:58:in `block (3 levels) in <module:Formatters>'
|
404
|
+
./spec/support/sandboxed_mock_space.rb:38:in `sandboxed'</pre></div>
|
396
405
|
<pre class="ruby"><code><span class="linenum">-1</span><span class="comment"># Couldn't get snippet for (erb)</span></code></pre>
|
397
406
|
</div>
|
398
407
|
</dd>
|
@@ -402,7 +411,7 @@ expected: 2
|
|
402
411
|
<span class="duration">n.nnnns</span>
|
403
412
|
<div class="failure" id="failure_4">
|
404
413
|
<div class="message"><pre>Exception</pre></div>
|
405
|
-
<div class="backtrace"><pre>/foo.html.erb:1:in
|
414
|
+
<div class="backtrace"><pre>/foo.html.erb:1:in `<main>': foo (RuntimeError)</pre></div>
|
406
415
|
<pre class="ruby"><code><span class="linenum">-1</span><span class="comment"># Couldn't get snippet for /foo.html.erb</span></code></pre>
|
407
416
|
</div>
|
408
417
|
</dd>
|
@@ -1,8 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang='en'>
|
6
3
|
<head>
|
7
4
|
<title>RSpec results</title>
|
8
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
@@ -269,14 +266,14 @@ a {
|
|
269
266
|
</div>
|
270
267
|
|
271
268
|
<div id="display-filters">
|
272
|
-
<input id="passed_checkbox"
|
273
|
-
<input id="failed_checkbox"
|
274
|
-
<input id="pending_checkbox" name="pending_checkbox" type="checkbox" checked onchange="apply_filters()" value="3"
|
269
|
+
<input id="passed_checkbox" name="passed_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="1" /> <label for="passed_checkbox">Passed</label>
|
270
|
+
<input id="failed_checkbox" name="failed_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="2" /> <label for="failed_checkbox">Failed</label>
|
271
|
+
<input id="pending_checkbox" name="pending_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="3" /> <label for="pending_checkbox">Pending</label>
|
275
272
|
</div>
|
276
273
|
|
277
274
|
<div id="summary">
|
278
|
-
<p id="totals"
|
279
|
-
<p id="duration"
|
275
|
+
<p id="totals"> </p>
|
276
|
+
<p id="duration"> </p>
|
280
277
|
</div>
|
281
278
|
</div>
|
282
279
|
|
@@ -320,10 +317,9 @@ a {
|
|
320
317
|
<div class="failure" id="failure_1">
|
321
318
|
<div class="message"><pre>RSpec::Core::Pending::PendingExampleFixedError</pre></div>
|
322
319
|
<div class="backtrace"><pre>./spec/rspec/core/resources/formatter_specs.rb:18:in `(root)'
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:53:in `Formatters'</pre></div>
|
320
|
+
././spec/support/sandboxed_mock_space.rb:33:in `sandboxed'
|
321
|
+
././spec/support/sandboxed_mock_space.rb:72:in `sandboxed'
|
322
|
+
././spec/support/sandboxed_mock_space.rb:32:in `sandboxed'</pre></div>
|
327
323
|
<pre class="ruby"><code><span class="linenum">16</span> <span class="ident">context</span> <span class="punct">"</span><span class="string">with content that would pass</span><span class="punct">"</span> <span class="keyword">do</span>
|
328
324
|
<span class="linenum">17</span> <span class="ident">it</span> <span class="punct">"</span><span class="string">fails</span><span class="punct">"</span> <span class="keyword">do</span>
|
329
325
|
<span class="offending"><span class="linenum">18</span> <span class="ident">pending</span> <span class="keyword">do</span></span>
|
@@ -357,10 +353,9 @@ expected: 2
|
|
357
353
|
(compared using ==)
|
358
354
|
</pre></div>
|
359
355
|
<div class="backtrace"><pre>./spec/rspec/core/resources/formatter_specs.rb:33:in `(root)'
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:53:in `Formatters'</pre></div>
|
356
|
+
././spec/support/sandboxed_mock_space.rb:33:in `sandboxed'
|
357
|
+
././spec/support/sandboxed_mock_space.rb:72:in `sandboxed'
|
358
|
+
././spec/support/sandboxed_mock_space.rb:32:in `sandboxed'</pre></div>
|
364
359
|
<pre class="ruby"><code><span class="linenum">31</span><span class="ident">describe</span> <span class="punct">"</span><span class="string">failing spec</span><span class="punct">"</span> <span class="keyword">do</span>
|
365
360
|
<span class="linenum">32</span> <span class="ident">it</span> <span class="punct">"</span><span class="string">fails</span><span class="punct">"</span> <span class="keyword">do</span>
|
366
361
|
<span class="offending"><span class="linenum">33</span> <span class="ident">expect</span><span class="punct">(</span><span class="number">1</span><span class="punct">).</span><span class="ident">to</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">2</span><span class="punct">)</span></span>
|
@@ -383,10 +378,9 @@ expected: 2
|
|
383
378
|
<div class="message"><pre>foo</pre></div>
|
384
379
|
<div class="backtrace"><pre>(erb):1:in `result'
|
385
380
|
./spec/rspec/core/resources/formatter_specs.rb:41:in `(root)'
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
./spec/rspec/core/formatters/html_formatter_spec.rb:53:in `Formatters'</pre></div>
|
381
|
+
././spec/support/sandboxed_mock_space.rb:33:in `sandboxed'
|
382
|
+
././spec/support/sandboxed_mock_space.rb:72:in `sandboxed'
|
383
|
+
././spec/support/sandboxed_mock_space.rb:32:in `sandboxed'</pre></div>
|
390
384
|
<pre class="ruby"><code><span class="linenum">-1</span><span class="comment"># Couldn't get snippet for (erb)</span></code></pre>
|
391
385
|
</div>
|
392
386
|
</dd>
|
@@ -396,7 +390,7 @@ expected: 2
|
|
396
390
|
<span class="duration">n.nnnns</span>
|
397
391
|
<div class="failure" id="failure_4">
|
398
392
|
<div class="message"><pre>Exception</pre></div>
|
399
|
-
<div class="backtrace"><pre>/foo.html.erb:1:in
|
393
|
+
<div class="backtrace"><pre>/foo.html.erb:1:in `<main>': foo (RuntimeError)</pre></div>
|
400
394
|
<pre class="ruby"><code><span class="linenum">-1</span><span class="comment"># Couldn't get snippet for /foo.html.erb</span></code></pre>
|
401
395
|
</div>
|
402
396
|
</dd>
|
@@ -1,8 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang='en'>
|
6
3
|
<head>
|
7
4
|
<title>RSpec results</title>
|
8
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
@@ -269,14 +266,14 @@ a {
|
|
269
266
|
</div>
|
270
267
|
|
271
268
|
<div id="display-filters">
|
272
|
-
<input id="passed_checkbox"
|
273
|
-
<input id="failed_checkbox"
|
274
|
-
<input id="pending_checkbox" name="pending_checkbox" type="checkbox" checked onchange="apply_filters()" value="3"
|
269
|
+
<input id="passed_checkbox" name="passed_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="1" /> <label for="passed_checkbox">Passed</label>
|
270
|
+
<input id="failed_checkbox" name="failed_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="2" /> <label for="failed_checkbox">Failed</label>
|
271
|
+
<input id="pending_checkbox" name="pending_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="3" /> <label for="pending_checkbox">Pending</label>
|
275
272
|
</div>
|
276
273
|
|
277
274
|
<div id="summary">
|
278
|
-
<p id="totals"
|
279
|
-
<p id="duration"
|
275
|
+
<p id="totals"> </p>
|
276
|
+
<p id="duration"> </p>
|
280
277
|
</div>
|
281
278
|
</div>
|
282
279
|
|
@@ -319,73 +316,39 @@ a {
|
|
319
316
|
<span class="duration">n.nnnns</span>
|
320
317
|
<div class="failure" id="failure_1">
|
321
318
|
<div class="message"><pre>RSpec::Core::Pending::PendingExampleFixedError</pre></div>
|
322
|
-
<div class="backtrace"><pre>./
|
323
|
-
./spec/rspec/core/resources/formatter_specs.rb:18:in `__script__'
|
319
|
+
<div class="backtrace"><pre>./spec/rspec/core/resources/formatter_specs.rb:18:in `__script__'
|
324
320
|
kernel/common/eval19.rb:45:in `instance_eval'
|
325
|
-
./
|
326
|
-
./
|
327
|
-
./
|
328
|
-
./lib/rspec/core/example_group.rb:388:in `run_examples'
|
321
|
+
./spec/support/sandboxed_mock_space.rb:33:in `run'
|
322
|
+
./spec/support/sandboxed_mock_space.rb:72:in `sandboxed'
|
323
|
+
./spec/support/sandboxed_mock_space.rb:32:in `run'
|
329
324
|
kernel/bootstrap/array19.rb:18:in `map'
|
330
|
-
./lib/rspec/core/example_group.rb:384:in `run_examples'
|
331
|
-
./lib/rspec/core/example_group.rb:369:in `orig_run (run)'
|
332
|
-
./spec/spec_helper.rb:53:in `run'
|
333
|
-
./lib/rspec/core/example_group.rb:370:in `run'
|
334
325
|
kernel/bootstrap/array19.rb:18:in `map'
|
335
|
-
./lib/rspec/core/example_group.rb:370:in `orig_run (run)'
|
336
|
-
./spec/spec_helper.rb:53:in `run'
|
337
|
-
./lib/rspec/core/command_line.rb:28:in `run'
|
338
326
|
kernel/bootstrap/array19.rb:18:in `map'
|
339
|
-
./lib/rspec/core/command_line.rb:28:in `run'
|
340
|
-
./lib/rspec/core/reporter.rb:34:in `report'
|
341
|
-
./lib/rspec/core/command_line.rb:25:in `run'
|
342
327
|
./spec/rspec/core/formatters/html_formatter_spec.rb:37:in `Formatters'
|
343
|
-
|
344
|
-
kernel/common/hash19.rb:257:in `fetch'
|
345
|
-
./lib/rspec/core/let.rb:93:in `let'
|
328
|
+
kernel/common/hash19.rb:256:in `fetch'
|
346
329
|
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `Formatters'
|
347
330
|
kernel/common/io.rb:217:in `open'
|
348
331
|
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `Formatters'
|
349
332
|
kernel/common/dir.rb:92:in `chdir'
|
350
333
|
./spec/rspec/core/formatters/html_formatter_spec.rb:58:in `Formatters'
|
351
334
|
kernel/common/eval19.rb:45:in `instance_eval'
|
352
|
-
|
353
|
-
./lib/rspec/core/example.rb:179:in `run'
|
354
|
-
./spec/spec_helper.rb:102:in `__script__'
|
335
|
+
kernel/bootstrap/proc.rb:22:in `call'
|
355
336
|
kernel/common/eval19.rb:45:in `instance_eval'
|
356
|
-
./spec/
|
357
|
-
|
358
|
-
kernel/
|
359
|
-
./lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
360
|
-
./lib/rspec/core/example.rb:247:in `instance_eval_with_args'
|
361
|
-
./lib/rspec/core/hooks.rb:93:in `run'
|
362
|
-
./lib/rspec/core/hooks.rb:91:in `run'
|
363
|
-
./lib/rspec/core/hooks.rb:424:in `run_hook'
|
364
|
-
./lib/rspec/core/example_group.rb:327:in `run_around_each_hooks'
|
365
|
-
./lib/rspec/core/example.rb:256:in `with_around_each_hooks'
|
366
|
-
./lib/rspec/core/example.rb:111:in `run'
|
367
|
-
./lib/rspec/core/example_group.rb:388:in `run_examples'
|
337
|
+
./spec/support/sandboxed_mock_space.rb:38:in `sandboxed'
|
338
|
+
kernel/common/eval19.rb:103:in `instance_exec'
|
339
|
+
kernel/bootstrap/proc.rb:22:in `call'
|
368
340
|
kernel/bootstrap/array19.rb:18:in `map'
|
369
|
-
./lib/rspec/core/example_group.rb:384:in `run_examples'
|
370
|
-
./lib/rspec/core/example_group.rb:369:in `run'
|
371
|
-
./lib/rspec/core/example_group.rb:370:in `run'
|
372
341
|
kernel/bootstrap/array19.rb:18:in `map'
|
373
|
-
./lib/rspec/core/example_group.rb:370:in `run'
|
374
|
-
./lib/rspec/core/command_line.rb:28:in `run'
|
375
342
|
kernel/bootstrap/array19.rb:18:in `map'
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
<span class="linenum">101</span> <span class="keyword">end</span>
|
386
|
-
<span class="offending"><span class="linenum">102</span> <span class="keyword">raise</span> <span class="constant">PendingExampleFixedError</span><span class="punct">.</span><span class="ident">new</span> <span class="keyword">if</span> <span class="ident">result</span></span>
|
387
|
-
<span class="linenum">103</span> <span class="keyword">end</span>
|
388
|
-
<span class="linenum">104</span> <span class="keyword">raise</span> <span class="constant">PendingDeclaredInExample</span><span class="punct">.</span><span class="ident">new</span><span class="punct">(</span><span class="ident">message</span><span class="punct">)</span></code></pre>
|
343
|
+
kernel/bootstrap/proc.rb:22:in `call'
|
344
|
+
kernel/loader.rb:698:in `run_at_exits'
|
345
|
+
kernel/loader.rb:718:in `epilogue'
|
346
|
+
kernel/loader.rb:851:in `main'</pre></div>
|
347
|
+
<pre class="ruby"><code><span class="linenum">16</span> <span class="ident">context</span> <span class="punct">"</span><span class="string">with content that would pass</span><span class="punct">"</span> <span class="keyword">do</span>
|
348
|
+
<span class="linenum">17</span> <span class="ident">it</span> <span class="punct">"</span><span class="string">fails</span><span class="punct">"</span> <span class="keyword">do</span>
|
349
|
+
<span class="offending"><span class="linenum">18</span> <span class="ident">pending</span> <span class="keyword">do</span></span>
|
350
|
+
<span class="linenum">19</span> <span class="ident">expect</span><span class="punct">(</span><span class="number">1</span><span class="punct">).</span><span class="ident">to</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">1</span><span class="punct">)</span>
|
351
|
+
<span class="linenum">20</span> <span class="keyword">end</span></code></pre>
|
389
352
|
</div>
|
390
353
|
</dd>
|
391
354
|
</dl>
|
@@ -413,70 +376,38 @@ expected: 2
|
|
413
376
|
|
414
377
|
(compared using ==)
|
415
378
|
</pre></div>
|
416
|
-
<div class="backtrace"><pre
|
417
|
-
/Users/alindeman/workspace/rspec-dev/repos/rspec-expectations/lib/rspec/expectations/handler.rb:31:in `handle_matcher'
|
418
|
-
/Users/alindeman/workspace/rspec-dev/repos/rspec-expectations/lib/rspec/expectations/expectation_target.rb:34:in `to'
|
419
|
-
./spec/rspec/core/resources/formatter_specs.rb:33:in `__script__'
|
379
|
+
<div class="backtrace"><pre>./spec/rspec/core/resources/formatter_specs.rb:33:in `__script__'
|
420
380
|
kernel/common/eval19.rb:45:in `instance_eval'
|
421
|
-
./
|
422
|
-
./
|
423
|
-
./
|
424
|
-
./lib/rspec/core/example_group.rb:388:in `run_examples'
|
381
|
+
./spec/support/sandboxed_mock_space.rb:33:in `run'
|
382
|
+
./spec/support/sandboxed_mock_space.rb:72:in `sandboxed'
|
383
|
+
./spec/support/sandboxed_mock_space.rb:32:in `run'
|
425
384
|
kernel/bootstrap/array19.rb:18:in `map'
|
426
|
-
./lib/rspec/core/example_group.rb:384:in `run_examples'
|
427
|
-
./lib/rspec/core/example_group.rb:369:in `orig_run (run)'
|
428
|
-
./spec/spec_helper.rb:53:in `run'
|
429
|
-
./lib/rspec/core/command_line.rb:28:in `run'
|
430
385
|
kernel/bootstrap/array19.rb:18:in `map'
|
431
|
-
./lib/rspec/core/command_line.rb:28:in `run'
|
432
|
-
./lib/rspec/core/reporter.rb:34:in `report'
|
433
|
-
./lib/rspec/core/command_line.rb:25:in `run'
|
434
386
|
./spec/rspec/core/formatters/html_formatter_spec.rb:37:in `Formatters'
|
435
|
-
|
436
|
-
kernel/common/hash19.rb:257:in `fetch'
|
437
|
-
./lib/rspec/core/let.rb:93:in `let'
|
387
|
+
kernel/common/hash19.rb:256:in `fetch'
|
438
388
|
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `Formatters'
|
439
389
|
kernel/common/io.rb:217:in `open'
|
440
390
|
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `Formatters'
|
441
391
|
kernel/common/dir.rb:92:in `chdir'
|
442
392
|
./spec/rspec/core/formatters/html_formatter_spec.rb:58:in `Formatters'
|
443
393
|
kernel/common/eval19.rb:45:in `instance_eval'
|
444
|
-
|
445
|
-
./lib/rspec/core/example.rb:179:in `run'
|
446
|
-
./spec/spec_helper.rb:102:in `__script__'
|
394
|
+
kernel/bootstrap/proc.rb:22:in `call'
|
447
395
|
kernel/common/eval19.rb:45:in `instance_eval'
|
448
|
-
./spec/
|
449
|
-
|
450
|
-
kernel/
|
451
|
-
./lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
452
|
-
./lib/rspec/core/example.rb:247:in `instance_eval_with_args'
|
453
|
-
./lib/rspec/core/hooks.rb:93:in `run'
|
454
|
-
./lib/rspec/core/hooks.rb:91:in `run'
|
455
|
-
./lib/rspec/core/hooks.rb:424:in `run_hook'
|
456
|
-
./lib/rspec/core/example_group.rb:327:in `run_around_each_hooks'
|
457
|
-
./lib/rspec/core/example.rb:256:in `with_around_each_hooks'
|
458
|
-
./lib/rspec/core/example.rb:111:in `run'
|
459
|
-
./lib/rspec/core/example_group.rb:388:in `run_examples'
|
396
|
+
./spec/support/sandboxed_mock_space.rb:38:in `sandboxed'
|
397
|
+
kernel/common/eval19.rb:103:in `instance_exec'
|
398
|
+
kernel/bootstrap/proc.rb:22:in `call'
|
460
399
|
kernel/bootstrap/array19.rb:18:in `map'
|
461
|
-
./lib/rspec/core/example_group.rb:384:in `run_examples'
|
462
|
-
./lib/rspec/core/example_group.rb:369:in `run'
|
463
|
-
./lib/rspec/core/example_group.rb:370:in `run'
|
464
400
|
kernel/bootstrap/array19.rb:18:in `map'
|
465
|
-
./lib/rspec/core/example_group.rb:370:in `run'
|
466
|
-
./lib/rspec/core/command_line.rb:28:in `run'
|
467
401
|
kernel/bootstrap/array19.rb:18:in `map'
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
<span class="linenum">32</span>
|
478
|
-
<span class="offending"><span class="linenum">33</span> <span class="keyword">raise</span><span class="punct">(</span><span class="constant">RSpec</span><span class="punct">::</span><span class="constant">Expectations</span><span class="punct">::</span><span class="constant">ExpectationNotMetError</span><span class="punct">.</span><span class="ident">new</span><span class="punct">(</span><span class="ident">message</span><span class="punct">))</span></span>
|
479
|
-
<span class="linenum">34</span> <span class="keyword">end</span></code></pre>
|
402
|
+
kernel/bootstrap/proc.rb:22:in `call'
|
403
|
+
kernel/loader.rb:698:in `run_at_exits'
|
404
|
+
kernel/loader.rb:718:in `epilogue'
|
405
|
+
kernel/loader.rb:851:in `main'</pre></div>
|
406
|
+
<pre class="ruby"><code><span class="linenum">31</span><span class="ident">describe</span> <span class="punct">"</span><span class="string">failing spec</span><span class="punct">"</span> <span class="keyword">do</span>
|
407
|
+
<span class="linenum">32</span> <span class="ident">it</span> <span class="punct">"</span><span class="string">fails</span><span class="punct">"</span> <span class="keyword">do</span>
|
408
|
+
<span class="offending"><span class="linenum">33</span> <span class="ident">expect</span><span class="punct">(</span><span class="number">1</span><span class="punct">).</span><span class="ident">to</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">2</span><span class="punct">)</span></span>
|
409
|
+
<span class="linenum">34</span> <span class="keyword">end</span>
|
410
|
+
<span class="linenum">35</span><span class="keyword">end</span></code></pre>
|
480
411
|
</div>
|
481
412
|
</dd>
|
482
413
|
</dl>
|
@@ -495,64 +426,34 @@ kernel/loader.rb:850:in `main'</pre></div>
|
|
495
426
|
<div class="backtrace"><pre>(erb):1:in `__script__'
|
496
427
|
kernel/common/block_environment.rb:75:in `call_on_instance'
|
497
428
|
kernel/common/eval.rb:75:in `eval'
|
498
|
-
/Users/
|
429
|
+
/Users/jon/.rvm/rubies/rbx-head/lib/19/erb.rb:838:in `result'
|
499
430
|
./spec/rspec/core/resources/formatter_specs.rb:41:in `__script__'
|
500
431
|
kernel/common/eval19.rb:45:in `instance_eval'
|
501
|
-
./
|
502
|
-
./
|
503
|
-
./
|
504
|
-
./lib/rspec/core/example_group.rb:388:in `run_examples'
|
432
|
+
./spec/support/sandboxed_mock_space.rb:33:in `run'
|
433
|
+
./spec/support/sandboxed_mock_space.rb:72:in `sandboxed'
|
434
|
+
./spec/support/sandboxed_mock_space.rb:32:in `run'
|
505
435
|
kernel/bootstrap/array19.rb:18:in `map'
|
506
|
-
./lib/rspec/core/example_group.rb:384:in `run_examples'
|
507
|
-
./lib/rspec/core/example_group.rb:369:in `orig_run (run)'
|
508
|
-
./spec/spec_helper.rb:53:in `run'
|
509
|
-
./lib/rspec/core/command_line.rb:28:in `run'
|
510
436
|
kernel/bootstrap/array19.rb:18:in `map'
|
511
|
-
./lib/rspec/core/command_line.rb:28:in `run'
|
512
|
-
./lib/rspec/core/reporter.rb:34:in `report'
|
513
|
-
./lib/rspec/core/command_line.rb:25:in `run'
|
514
437
|
./spec/rspec/core/formatters/html_formatter_spec.rb:37:in `Formatters'
|
515
|
-
|
516
|
-
kernel/common/hash19.rb:257:in `fetch'
|
517
|
-
./lib/rspec/core/let.rb:93:in `let'
|
438
|
+
kernel/common/hash19.rb:256:in `fetch'
|
518
439
|
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `Formatters'
|
519
440
|
kernel/common/io.rb:217:in `open'
|
520
441
|
./spec/rspec/core/formatters/html_formatter_spec.rb:59:in `Formatters'
|
521
442
|
kernel/common/dir.rb:92:in `chdir'
|
522
443
|
./spec/rspec/core/formatters/html_formatter_spec.rb:58:in `Formatters'
|
523
444
|
kernel/common/eval19.rb:45:in `instance_eval'
|
524
|
-
|
525
|
-
./lib/rspec/core/example.rb:179:in `run'
|
526
|
-
./spec/spec_helper.rb:102:in `__script__'
|
445
|
+
kernel/bootstrap/proc.rb:22:in `call'
|
527
446
|
kernel/common/eval19.rb:45:in `instance_eval'
|
528
|
-
./spec/
|
529
|
-
|
530
|
-
kernel/
|
531
|
-
./lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
532
|
-
./lib/rspec/core/example.rb:247:in `instance_eval_with_args'
|
533
|
-
./lib/rspec/core/hooks.rb:93:in `run'
|
534
|
-
./lib/rspec/core/hooks.rb:91:in `run'
|
535
|
-
./lib/rspec/core/hooks.rb:424:in `run_hook'
|
536
|
-
./lib/rspec/core/example_group.rb:327:in `run_around_each_hooks'
|
537
|
-
./lib/rspec/core/example.rb:256:in `with_around_each_hooks'
|
538
|
-
./lib/rspec/core/example.rb:111:in `run'
|
539
|
-
./lib/rspec/core/example_group.rb:388:in `run_examples'
|
447
|
+
./spec/support/sandboxed_mock_space.rb:38:in `sandboxed'
|
448
|
+
kernel/common/eval19.rb:103:in `instance_exec'
|
449
|
+
kernel/bootstrap/proc.rb:22:in `call'
|
540
450
|
kernel/bootstrap/array19.rb:18:in `map'
|
541
|
-
./lib/rspec/core/example_group.rb:384:in `run_examples'
|
542
|
-
./lib/rspec/core/example_group.rb:369:in `run'
|
543
|
-
./lib/rspec/core/example_group.rb:370:in `run'
|
544
451
|
kernel/bootstrap/array19.rb:18:in `map'
|
545
|
-
./lib/rspec/core/example_group.rb:370:in `run'
|
546
|
-
./lib/rspec/core/command_line.rb:28:in `run'
|
547
452
|
kernel/bootstrap/array19.rb:18:in `map'
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
./lib/rspec/core/runner.rb:17:in `autorun'
|
553
|
-
kernel/loader.rb:697:in `run_at_exits'
|
554
|
-
kernel/loader.rb:717:in `epilogue'
|
555
|
-
kernel/loader.rb:850:in `main'</pre></div>
|
453
|
+
kernel/bootstrap/proc.rb:22:in `call'
|
454
|
+
kernel/loader.rb:698:in `run_at_exits'
|
455
|
+
kernel/loader.rb:718:in `epilogue'
|
456
|
+
kernel/loader.rb:851:in `main'</pre></div>
|
556
457
|
<pre class="ruby"><code><span class="linenum">-1</span><span class="comment"># Couldn't get snippet for (erb)</span></code></pre>
|
557
458
|
</div>
|
558
459
|
</dd>
|
@@ -562,8 +463,7 @@ kernel/loader.rb:850:in `main'</pre></div>
|
|
562
463
|
<span class="duration">n.nnnns</span>
|
563
464
|
<div class="failure" id="failure_4">
|
564
465
|
<div class="message"><pre>Exception</pre></div>
|
565
|
-
<div class="backtrace"><pre>/foo.html.erb:1:in
|
566
|
-
from /lib/ruby/1.9.1/erb.rb:753:in `eval'</pre></div>
|
466
|
+
<div class="backtrace"><pre>/foo.html.erb:1:in `<main>': foo (RuntimeError)</pre></div>
|
567
467
|
<pre class="ruby"><code><span class="linenum">-1</span><span class="comment"># Couldn't get snippet for /foo.html.erb</span></code></pre>
|
568
468
|
</div>
|
569
469
|
</dd>
|