rspec-core 2.6.4 → 2.7.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/{bin → exe}/autospec +0 -0
- data/{bin → exe}/rspec +0 -0
- data/features/Upgrade.md +11 -0
- data/features/command_line/exit_status.feature +20 -3
- data/features/command_line/format_option.feature +8 -0
- data/features/command_line/line_number_appended_to_path.feature +35 -1
- data/features/command_line/line_number_option.feature +16 -3
- data/features/command_line/pattern_option.feature +31 -0
- data/features/command_line/rake_task.feature +1 -1
- data/features/command_line/ruby.feature +22 -0
- data/features/configuration/default_path.feature +38 -0
- data/features/example_groups/{shared_example_group.feature → shared_examples.feature} +49 -26
- data/features/expectation_framework_integration/configure_expectation_framework.feature +1 -1
- data/features/filtering/inclusion_filters.feature +4 -5
- data/features/formatters/text_formatter.feature +16 -13
- data/features/helper_methods/let.feature +4 -4
- data/features/hooks/around_hooks.feature +1 -1
- data/features/hooks/before_and_after_hooks.feature +3 -3
- data/features/hooks/filtering.feature +13 -6
- data/features/metadata/user_defined.feature +12 -10
- data/features/pending/pending_examples.feature +21 -8
- data/features/step_definitions/additional_cli_steps.rb +1 -1
- data/features/subject/attribute_of_subject.feature +2 -2
- data/features/support/env.rb +1 -2
- data/lib/rspec/core.rb +1 -23
- data/lib/rspec/core/configuration.rb +64 -16
- data/lib/rspec/core/configuration_options.rb +11 -4
- data/lib/rspec/core/example.rb +10 -7
- data/lib/rspec/core/example_group.rb +34 -18
- data/lib/rspec/core/formatters/base_text_formatter.rb +10 -2
- data/lib/rspec/core/formatters/html_formatter.rb +3 -1
- data/lib/rspec/core/formatters/snippet_extractor.rb +9 -3
- data/lib/rspec/core/formatters/text_mate_formatter.rb +20 -6
- data/lib/rspec/core/hooks.rb +2 -2
- data/lib/rspec/core/let.rb +5 -5
- data/lib/rspec/core/metadata.rb +136 -94
- data/lib/rspec/core/option_parser.rb +10 -5
- data/lib/rspec/core/pending.rb +2 -1
- data/lib/rspec/core/rake_task.rb +26 -15
- data/lib/rspec/core/reporter.rb +2 -3
- data/lib/rspec/core/runner.rb +1 -1
- data/lib/rspec/core/shared_example_group.rb +4 -4
- data/lib/rspec/core/subject.rb +7 -7
- data/lib/rspec/core/version.rb +1 -1
- data/lib/rspec/core/world.rb +4 -8
- data/spec/autotest/discover_spec.rb +2 -2
- data/spec/autotest/failed_results_re_spec.rb +29 -21
- data/spec/autotest/rspec_spec.rb +3 -3
- data/spec/rspec/core/command_line_spec.rb +1 -6
- data/spec/rspec/core/configuration_options_spec.rb +65 -13
- data/spec/rspec/core/configuration_spec.rb +148 -37
- data/spec/rspec/core/deprecations_spec.rb +2 -2
- data/spec/rspec/core/drb_command_line_spec.rb +6 -6
- data/spec/rspec/core/example_group_spec.rb +197 -61
- data/spec/rspec/core/example_spec.rb +33 -16
- data/spec/rspec/core/formatters/base_formatter_spec.rb +3 -3
- data/spec/rspec/core/formatters/base_text_formatter_spec.rb +149 -1
- data/spec/rspec/core/formatters/helpers_spec.rb +8 -8
- data/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +85 -17
- data/spec/rspec/core/formatters/html_formatted-1.8.7.html +12 -11
- data/spec/rspec/core/formatters/html_formatted-1.9.2.html +12 -11
- data/spec/rspec/core/formatters/{html_formatted-1.9.1.html → html_formatted-1.9.3.html} +12 -11
- data/spec/rspec/core/formatters/html_formatter_spec.rb +5 -5
- data/spec/rspec/core/formatters/progress_formatter_spec.rb +2 -2
- data/spec/rspec/core/formatters/snippet_extractor_spec.rb +2 -2
- data/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +86 -18
- data/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +13 -12
- data/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +29 -28
- data/spec/rspec/core/formatters/{text_mate_formatted-1.9.1.html → text_mate_formatted-1.9.3.html} +29 -28
- data/spec/rspec/core/formatters/text_mate_formatter_spec.rb +2 -2
- data/spec/rspec/core/hooks_filtering_spec.rb +18 -18
- data/spec/rspec/core/let_spec.rb +19 -6
- data/spec/rspec/core/metadata_spec.rb +146 -61
- data/spec/rspec/core/pending_example_spec.rb +4 -4
- data/spec/rspec/core/rake_task_spec.rb +71 -50
- data/spec/rspec/core/reporter_spec.rb +2 -2
- data/spec/rspec/core/ruby_project_spec.rb +2 -2
- data/spec/rspec/core/runner_spec.rb +4 -1
- data/spec/rspec/core/shared_example_group_spec.rb +15 -119
- data/spec/rspec/core/subject_spec.rb +13 -13
- data/spec/rspec/core/world_spec.rb +31 -22
- data/spec/rspec/core_spec.rb +1 -29
- data/spec/spec_helper.rb +51 -49
- data/spec/support/shared_example_groups.rb +3 -3
- data/spec/support/spec_files.rb +8 -8
- metadata +79 -93
- data/.document +0 -5
- data/.gitignore +0 -12
- data/.rspec +0 -0
- data/.travis.yml +0 -9
- data/Changelog.md +0 -305
- data/Gemfile +0 -49
- data/Guardfile +0 -5
- data/License.txt +0 -23
- data/Rakefile +0 -93
- data/cucumber.yml +0 -2
- data/features/.nav +0 -57
- data/rspec-core.gemspec +0 -24
- data/script/FullBuildRakeFile +0 -63
- data/script/console +0 -8
- data/script/cucumber +0 -1
- data/script/full_build +0 -1
- data/script/spec +0 -1
- data/spec.txt +0 -1126
- data/spec/rspec/core/formatters/html_formatted-1.8.6.html +0 -398
- data/spec/rspec/core/formatters/text_mate_formatted-1.8.6.html +0 -398
@@ -319,11 +319,11 @@ a {
|
|
319
319
|
./spec/rspec/core/formatters/html_formatter_spec.rb:46
|
320
320
|
./spec/rspec/core/formatters/html_formatter_spec.rb:45:in `chdir'
|
321
321
|
./spec/rspec/core/formatters/html_formatter_spec.rb:45</pre></div>
|
322
|
-
<pre class="ruby"><code><span class="linenum">
|
323
|
-
<span class="linenum">
|
324
|
-
<span class="offending"><span class="linenum">
|
325
|
-
<span class="linenum">
|
326
|
-
<span class="linenum">
|
322
|
+
<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>
|
323
|
+
<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>
|
324
|
+
<span class="offending"><span class="linenum">18</span> <span class="ident">pending</span> <span class="keyword">do</span></span>
|
325
|
+
<span class="linenum">19</span> <span class="number">1</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">1</span><span class="punct">)</span>
|
326
|
+
<span class="linenum">20</span> <span class="keyword">end</span></code></pre>
|
327
327
|
</div>
|
328
328
|
</dd>
|
329
329
|
</dl>
|
@@ -345,8 +345,8 @@ a {
|
|
345
345
|
<span class="failed_spec_name">fails</span>
|
346
346
|
<div class="failure" id="failure_2">
|
347
347
|
<div class="message"><pre>
|
348
|
-
expected 2
|
349
|
-
got 1
|
348
|
+
expected: 2
|
349
|
+
got: 1
|
350
350
|
|
351
351
|
(compared using ==)
|
352
352
|
</pre></div>
|
@@ -357,10 +357,11 @@ expected 2
|
|
357
357
|
./spec/rspec/core/formatters/html_formatter_spec.rb:46
|
358
358
|
./spec/rspec/core/formatters/html_formatter_spec.rb:45:in `chdir'
|
359
359
|
./spec/rspec/core/formatters/html_formatter_spec.rb:45</pre></div>
|
360
|
-
<pre class="ruby"><code><span class="linenum">
|
361
|
-
<span class="linenum">
|
362
|
-
<span class="offending"><span class="linenum">
|
363
|
-
<span class="linenum">
|
360
|
+
<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>
|
361
|
+
<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>
|
362
|
+
<span class="offending"><span class="linenum">33</span> <span class="number">1</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">2</span><span class="punct">)</span></span>
|
363
|
+
<span class="linenum">34</span> <span class="keyword">end</span>
|
364
|
+
<span class="linenum">35</span><span class="keyword">end</span></code></pre>
|
364
365
|
</div>
|
365
366
|
</dd>
|
366
367
|
</dl>
|
@@ -319,11 +319,11 @@ a {
|
|
319
319
|
./spec/rspec/core/formatters/html_formatter_spec.rb:46:in `block (4 levels) in <module:Formatters>'
|
320
320
|
./spec/rspec/core/formatters/html_formatter_spec.rb:45:in `chdir'
|
321
321
|
./spec/rspec/core/formatters/html_formatter_spec.rb:45:in `block (3 levels) in <module:Formatters>'</pre></div>
|
322
|
-
<pre class="ruby"><code><span class="linenum">
|
323
|
-
<span class="linenum">
|
324
|
-
<span class="offending"><span class="linenum">
|
325
|
-
<span class="linenum">
|
326
|
-
<span class="linenum">
|
322
|
+
<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>
|
323
|
+
<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>
|
324
|
+
<span class="offending"><span class="linenum">18</span> <span class="ident">pending</span> <span class="keyword">do</span></span>
|
325
|
+
<span class="linenum">19</span> <span class="number">1</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">1</span><span class="punct">)</span>
|
326
|
+
<span class="linenum">20</span> <span class="keyword">end</span></code></pre>
|
327
327
|
</div>
|
328
328
|
</dd>
|
329
329
|
</dl>
|
@@ -345,8 +345,8 @@ a {
|
|
345
345
|
<span class="failed_spec_name">fails</span>
|
346
346
|
<div class="failure" id="failure_2">
|
347
347
|
<div class="message"><pre>
|
348
|
-
expected 2
|
349
|
-
got 1
|
348
|
+
expected: 2
|
349
|
+
got: 1
|
350
350
|
|
351
351
|
(compared using ==)
|
352
352
|
</pre></div>
|
@@ -357,10 +357,11 @@ expected 2
|
|
357
357
|
./spec/rspec/core/formatters/html_formatter_spec.rb:46:in `block (4 levels) in <module:Formatters>'
|
358
358
|
./spec/rspec/core/formatters/html_formatter_spec.rb:45:in `chdir'
|
359
359
|
./spec/rspec/core/formatters/html_formatter_spec.rb:45:in `block (3 levels) in <module:Formatters>'</pre></div>
|
360
|
-
<pre class="ruby"><code><span class="linenum">
|
361
|
-
<span class="linenum">
|
362
|
-
<span class="offending"><span class="linenum">
|
363
|
-
<span class="linenum">
|
360
|
+
<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>
|
361
|
+
<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>
|
362
|
+
<span class="offending"><span class="linenum">33</span> <span class="number">1</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">2</span><span class="punct">)</span></span>
|
363
|
+
<span class="linenum">34</span> <span class="keyword">end</span>
|
364
|
+
<span class="linenum">35</span><span class="keyword">end</span></code></pre>
|
364
365
|
</div>
|
365
366
|
</dd>
|
366
367
|
</dl>
|
@@ -319,11 +319,11 @@ a {
|
|
319
319
|
./spec/rspec/core/formatters/html_formatter_spec.rb:46:in `block (4 levels) in <module:Formatters>'
|
320
320
|
./spec/rspec/core/formatters/html_formatter_spec.rb:45:in `chdir'
|
321
321
|
./spec/rspec/core/formatters/html_formatter_spec.rb:45:in `block (3 levels) in <module:Formatters>'</pre></div>
|
322
|
-
<pre class="ruby"><code><span class="linenum">
|
323
|
-
<span class="linenum">
|
324
|
-
<span class="offending"><span class="linenum">
|
325
|
-
<span class="linenum">
|
326
|
-
<span class="linenum">
|
322
|
+
<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>
|
323
|
+
<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>
|
324
|
+
<span class="offending"><span class="linenum">18</span> <span class="ident">pending</span> <span class="keyword">do</span></span>
|
325
|
+
<span class="linenum">19</span> <span class="number">1</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">1</span><span class="punct">)</span>
|
326
|
+
<span class="linenum">20</span> <span class="keyword">end</span></code></pre>
|
327
327
|
</div>
|
328
328
|
</dd>
|
329
329
|
</dl>
|
@@ -345,8 +345,8 @@ a {
|
|
345
345
|
<span class="failed_spec_name">fails</span>
|
346
346
|
<div class="failure" id="failure_2">
|
347
347
|
<div class="message"><pre>
|
348
|
-
expected 2
|
349
|
-
got 1
|
348
|
+
expected: 2
|
349
|
+
got: 1
|
350
350
|
|
351
351
|
(compared using ==)
|
352
352
|
</pre></div>
|
@@ -357,10 +357,11 @@ expected 2
|
|
357
357
|
./spec/rspec/core/formatters/html_formatter_spec.rb:46:in `block (4 levels) in <module:Formatters>'
|
358
358
|
./spec/rspec/core/formatters/html_formatter_spec.rb:45:in `chdir'
|
359
359
|
./spec/rspec/core/formatters/html_formatter_spec.rb:45:in `block (3 levels) in <module:Formatters>'</pre></div>
|
360
|
-
<pre class="ruby"><code><span class="linenum">
|
361
|
-
<span class="linenum">
|
362
|
-
<span class="offending"><span class="linenum">
|
363
|
-
<span class="linenum">
|
360
|
+
<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>
|
361
|
+
<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>
|
362
|
+
<span class="offending"><span class="linenum">33</span> <span class="number">1</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">2</span><span class="punct">)</span></span>
|
363
|
+
<span class="linenum">34</span> <span class="keyword">end</span>
|
364
|
+
<span class="linenum">35</span><span class="keyword">end</span></code></pre>
|
364
365
|
</div>
|
365
366
|
</dd>
|
366
367
|
</dl>
|
@@ -5,7 +5,7 @@ require 'nokogiri'
|
|
5
5
|
module RSpec
|
6
6
|
module Core
|
7
7
|
module Formatters
|
8
|
-
describe HtmlFormatter do
|
8
|
+
describe HtmlFormatter, :if => RUBY_VERSION =~ /^(1.8.7|1.9.2|1.9.3)$/ do
|
9
9
|
let(:jruby?) { ::RUBY_PLATFORM == 'java' }
|
10
10
|
let(:root) { File.expand_path("#{File.dirname(__FILE__)}/../../../..") }
|
11
11
|
let(:suffix) { jruby? ? '-jruby' : '' }
|
@@ -22,7 +22,7 @@ module RSpec
|
|
22
22
|
err, out = StringIO.new, StringIO.new
|
23
23
|
command_line = RSpec::Core::CommandLine.new(options)
|
24
24
|
command_line.run(err, out)
|
25
|
-
out.string.gsub
|
25
|
+
out.string.gsub(/\d+\.\d+ seconds/, 'x seconds')
|
26
26
|
end
|
27
27
|
|
28
28
|
let(:expected_html) do
|
@@ -65,13 +65,13 @@ module RSpec
|
|
65
65
|
expected_backtraces = extract_backtrace_from(expected_doc)
|
66
66
|
expected_doc.search("div.backtrace").remove
|
67
67
|
|
68
|
-
actual_doc.inner_html.should
|
68
|
+
actual_doc.inner_html.should eq(expected_doc.inner_html)
|
69
69
|
|
70
70
|
expected_backtraces.each_with_index do |expected_line, i|
|
71
71
|
expected_path, expected_line_number, expected_suffix = expected_line.split(':')
|
72
72
|
actual_path, actual_line_number, actual_suffix = actual_backtraces[i].split(':')
|
73
|
-
File.expand_path(actual_path).should
|
74
|
-
actual_line_number.should
|
73
|
+
File.expand_path(actual_path).should eq(File.expand_path(expected_path))
|
74
|
+
actual_line_number.should eq(expected_line_number)
|
75
75
|
end
|
76
76
|
end
|
77
77
|
end
|
@@ -12,7 +12,7 @@ describe RSpec::Core::Formatters::ProgressFormatter do
|
|
12
12
|
|
13
13
|
it "produces line break on start dump" do
|
14
14
|
@formatter.start_dump
|
15
|
-
@output.string.should
|
15
|
+
@output.string.should eq("\n")
|
16
16
|
end
|
17
17
|
|
18
18
|
it "produces standard summary without pending when pending has a 0 count" do
|
@@ -24,7 +24,7 @@ describe RSpec::Core::Formatters::ProgressFormatter do
|
|
24
24
|
|
25
25
|
it "pushes nothing on start" do
|
26
26
|
@formatter.start(4)
|
27
|
-
@output.string.should
|
27
|
+
@output.string.should eq("")
|
28
28
|
end
|
29
29
|
|
30
30
|
end
|
@@ -6,11 +6,11 @@ module RSpec
|
|
6
6
|
module Formatters
|
7
7
|
describe SnippetExtractor do
|
8
8
|
it "falls back on a default message when it doesn't understand a line" do
|
9
|
-
RSpec::Core::Formatters::SnippetExtractor.new.snippet_for("blech").should
|
9
|
+
RSpec::Core::Formatters::SnippetExtractor.new.snippet_for("blech").should eq(["# Couldn't get snippet for blech", 1])
|
10
10
|
end
|
11
11
|
|
12
12
|
it "falls back on a default message when it doesn't find the file" do
|
13
|
-
RSpec::Core::Formatters::SnippetExtractor.new.lines_around("blech", 8).should
|
13
|
+
RSpec::Core::Formatters::SnippetExtractor.new.lines_around("blech", 8).should eq("# Couldn't get snippet for blech")
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
@@ -313,13 +313,36 @@ a {
|
|
313
313
|
<div class="failure" id="failure_1">
|
314
314
|
<div class="message"><pre>RSpec::Core::PendingExampleFixedError</pre></div>
|
315
315
|
<div class="backtrace"><pre><a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/resources/formatter_specs.rb&line=18">./spec/rspec/core/resources/formatter_specs.rb:18</a> :in `(root)'
|
316
|
-
org/jruby/RubyKernel.java:
|
317
|
-
org/jruby/RubyArray.java:2336:in `collect'
|
318
|
-
|
319
|
-
|
320
|
-
<
|
321
|
-
|
322
|
-
|
316
|
+
org/jruby/RubyKernel.java:2061:in `instance_eval'
|
317
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
318
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
319
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
320
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=24">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:24</a> :in `Formatters'
|
321
|
+
org/jruby/RubyKernel.java:2061:in `instance_eval'
|
322
|
+
org/jruby/RubyHash.java:1063:in `fetch'
|
323
|
+
org/jruby/RubyProc.java:274:in `call'
|
324
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `Formatters'
|
325
|
+
org/jruby/RubyIO.java:1111:in `open'
|
326
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `Formatters'
|
327
|
+
org/jruby/RubyDir.java:335:in `chdir'
|
328
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `Formatters'
|
329
|
+
org/jruby/RubyKernel.java:2061:in `instance_eval'
|
330
|
+
org/jruby/RubyProc.java:274:in `call'
|
331
|
+
org/jruby/RubyProc.java:229:in `call'
|
332
|
+
org/jruby/RubyKernel.java:2061:in `instance_eval'
|
333
|
+
org/jruby/RubyKernel.java:2078:in `instance_exec'
|
334
|
+
org/jruby/RubyProc.java:274:in `call'
|
335
|
+
org/jruby/RubyProc.java:229:in `call'
|
336
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
337
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
338
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
339
|
+
org/jruby/RubyProc.java:274:in `call'
|
340
|
+
org/jruby/RubyProc.java:233:in `call'</pre></div>
|
341
|
+
<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>
|
342
|
+
<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>
|
343
|
+
<span class="offending"><span class="linenum">18</span> <span class="ident">pending</span> <span class="keyword">do</span></span>
|
344
|
+
<span class="linenum">19</span> <span class="number">1</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">1</span><span class="punct">)</span>
|
345
|
+
<span class="linenum">20</span> <span class="keyword">end</span></code></pre>
|
323
346
|
</div>
|
324
347
|
</dd>
|
325
348
|
</dl>
|
@@ -341,18 +364,41 @@ org/jruby/RubyArray.java:2336:in `collect'</pre></div>
|
|
341
364
|
<span class="failed_spec_name">fails</span>
|
342
365
|
<div class="failure" id="failure_2">
|
343
366
|
<div class="message"><pre>
|
344
|
-
expected 2
|
345
|
-
got 1
|
367
|
+
expected: 2
|
368
|
+
got: 1
|
346
369
|
|
347
370
|
(compared using ==)
|
348
371
|
</pre></div>
|
349
372
|
<div class="backtrace"><pre><a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/resources/formatter_specs.rb&line=33">./spec/rspec/core/resources/formatter_specs.rb:33</a> :in `(root)'
|
350
|
-
org/jruby/RubyKernel.java:
|
351
|
-
org/jruby/RubyArray.java:2336:in `collect'
|
352
|
-
|
353
|
-
<
|
354
|
-
|
355
|
-
|
373
|
+
org/jruby/RubyKernel.java:2061:in `instance_eval'
|
374
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
375
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
376
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=24">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:24</a> :in `Formatters'
|
377
|
+
org/jruby/RubyKernel.java:2061:in `instance_eval'
|
378
|
+
org/jruby/RubyHash.java:1063:in `fetch'
|
379
|
+
org/jruby/RubyProc.java:274:in `call'
|
380
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `Formatters'
|
381
|
+
org/jruby/RubyIO.java:1111:in `open'
|
382
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `Formatters'
|
383
|
+
org/jruby/RubyDir.java:335:in `chdir'
|
384
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `Formatters'
|
385
|
+
org/jruby/RubyKernel.java:2061:in `instance_eval'
|
386
|
+
org/jruby/RubyProc.java:274:in `call'
|
387
|
+
org/jruby/RubyProc.java:229:in `call'
|
388
|
+
org/jruby/RubyKernel.java:2061:in `instance_eval'
|
389
|
+
org/jruby/RubyKernel.java:2078:in `instance_exec'
|
390
|
+
org/jruby/RubyProc.java:274:in `call'
|
391
|
+
org/jruby/RubyProc.java:229:in `call'
|
392
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
393
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
394
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
395
|
+
org/jruby/RubyProc.java:274:in `call'
|
396
|
+
org/jruby/RubyProc.java:233:in `call'</pre></div>
|
397
|
+
<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>
|
398
|
+
<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>
|
399
|
+
<span class="offending"><span class="linenum">33</span> <span class="number">1</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">2</span><span class="punct">)</span></span>
|
400
|
+
<span class="linenum">34</span> <span class="keyword">end</span>
|
401
|
+
<span class="linenum">35</span><span class="keyword">end</span></code></pre>
|
356
402
|
</div>
|
357
403
|
</dd>
|
358
404
|
</dl>
|
@@ -370,8 +416,30 @@ org/jruby/RubyArray.java:2336:in `collect'</pre></div>
|
|
370
416
|
<div class="backtrace"><pre>(erb):1:in `result'
|
371
417
|
org/jruby/RubyKernel.java:1088:in `eval'
|
372
418
|
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/resources/formatter_specs.rb&line=41">./spec/rspec/core/resources/formatter_specs.rb:41</a> :in `(root)'
|
373
|
-
org/jruby/RubyKernel.java:
|
374
|
-
org/jruby/RubyArray.java:2336:in `collect'
|
419
|
+
org/jruby/RubyKernel.java:2061:in `instance_eval'
|
420
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
421
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
422
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=24">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:24</a> :in `Formatters'
|
423
|
+
org/jruby/RubyKernel.java:2061:in `instance_eval'
|
424
|
+
org/jruby/RubyHash.java:1063:in `fetch'
|
425
|
+
org/jruby/RubyProc.java:274:in `call'
|
426
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `Formatters'
|
427
|
+
org/jruby/RubyIO.java:1111:in `open'
|
428
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `Formatters'
|
429
|
+
org/jruby/RubyDir.java:335:in `chdir'
|
430
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `Formatters'
|
431
|
+
org/jruby/RubyKernel.java:2061:in `instance_eval'
|
432
|
+
org/jruby/RubyProc.java:274:in `call'
|
433
|
+
org/jruby/RubyProc.java:229:in `call'
|
434
|
+
org/jruby/RubyKernel.java:2061:in `instance_eval'
|
435
|
+
org/jruby/RubyKernel.java:2078:in `instance_exec'
|
436
|
+
org/jruby/RubyProc.java:274:in `call'
|
437
|
+
org/jruby/RubyProc.java:229:in `call'
|
438
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
439
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
440
|
+
org/jruby/RubyArray.java:2336:in `collect'
|
441
|
+
org/jruby/RubyProc.java:274:in `call'
|
442
|
+
org/jruby/RubyProc.java:233:in `call'</pre></div>
|
375
443
|
<pre class="ruby"><code><span class="linenum">-1</span><span class="comment"># Couldn't get snippet for (erb)</span></code></pre>
|
376
444
|
</div>
|
377
445
|
</dd>
|
@@ -380,7 +448,7 @@ org/jruby/RubyArray.java:2336:in `collect'</pre></div>
|
|
380
448
|
<span class="failed_spec_name">fails with a backtrace containing an erb file</span>
|
381
449
|
<div class="failure" id="failure_4">
|
382
450
|
<div class="message"><pre>Exception</pre></div>
|
383
|
-
<div class="backtrace"><pre><a href="txmt://open?url=file:///foo.html.erb&line=1">/foo.html.erb:1</a> :in
|
451
|
+
<div class="backtrace"><pre><a href="txmt://open?url=file:///foo.html.erb&line=1">/foo.html.erb:1</a> :in `<main>': foo (RuntimeError)</pre></div>
|
384
452
|
<pre class="ruby"><code><span class="linenum">-1</span><span class="comment"># Couldn't get snippet for /foo.html.erb</span></code></pre>
|
385
453
|
</div>
|
386
454
|
</dd>
|
@@ -319,11 +319,11 @@ a {
|
|
319
319
|
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a>
|
320
320
|
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `chdir'
|
321
321
|
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> </pre></div>
|
322
|
-
<pre class="ruby"><code><span class="linenum">
|
323
|
-
<span class="linenum">
|
324
|
-
<span class="offending"><span class="linenum">
|
325
|
-
<span class="linenum">
|
326
|
-
<span class="linenum">
|
322
|
+
<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>
|
323
|
+
<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>
|
324
|
+
<span class="offending"><span class="linenum">18</span> <span class="ident">pending</span> <span class="keyword">do</span></span>
|
325
|
+
<span class="linenum">19</span> <span class="number">1</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">1</span><span class="punct">)</span>
|
326
|
+
<span class="linenum">20</span> <span class="keyword">end</span></code></pre>
|
327
327
|
</div>
|
328
328
|
</dd>
|
329
329
|
</dl>
|
@@ -345,8 +345,8 @@ a {
|
|
345
345
|
<span class="failed_spec_name">fails</span>
|
346
346
|
<div class="failure" id="failure_2">
|
347
347
|
<div class="message"><pre>
|
348
|
-
expected 2
|
349
|
-
got 1
|
348
|
+
expected: 2
|
349
|
+
got: 1
|
350
350
|
|
351
351
|
(compared using ==)
|
352
352
|
</pre></div>
|
@@ -357,10 +357,11 @@ expected 2
|
|
357
357
|
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a>
|
358
358
|
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `chdir'
|
359
359
|
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> </pre></div>
|
360
|
-
<pre class="ruby"><code><span class="linenum">
|
361
|
-
<span class="linenum">
|
362
|
-
<span class="offending"><span class="linenum">
|
363
|
-
<span class="linenum">
|
360
|
+
<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>
|
361
|
+
<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>
|
362
|
+
<span class="offending"><span class="linenum">33</span> <span class="number">1</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">2</span><span class="punct">)</span></span>
|
363
|
+
<span class="linenum">34</span> <span class="keyword">end</span>
|
364
|
+
<span class="linenum">35</span><span class="keyword">end</span></code></pre>
|
364
365
|
</div>
|
365
366
|
</dd>
|
366
367
|
</dl>
|
@@ -384,7 +385,7 @@ expected 2
|
|
384
385
|
<span class="failed_spec_name">fails with a backtrace containing an erb file</span>
|
385
386
|
<div class="failure" id="failure_4">
|
386
387
|
<div class="message"><pre>Exception</pre></div>
|
387
|
-
<div class="backtrace"><pre><a href="txmt://open?url=file:///foo.html.erb&line=1">/foo.html.erb:1</a> :in
|
388
|
+
<div class="backtrace"><pre><a href="txmt://open?url=file:///foo.html.erb&line=1">/foo.html.erb:1</a> :in `<main>': foo (RuntimeError)</pre></div>
|
388
389
|
<pre class="ruby"><code><span class="linenum">-1</span><span class="comment"># Couldn't get snippet for /foo.html.erb</span></code></pre>
|
389
390
|
</div>
|
390
391
|
</dd>
|
@@ -312,18 +312,18 @@ a {
|
|
312
312
|
<span class="failed_spec_name">fails</span>
|
313
313
|
<div class="failure" id="failure_1">
|
314
314
|
<div class="message"><pre>RSpec::Core::PendingExampleFixedError</pre></div>
|
315
|
-
<div class="backtrace"><pre><a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/resources/formatter_specs.rb&line=18">./spec/rspec/core/resources/formatter_specs.rb:18</a> :in `block (3 levels) in
|
316
|
-
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=24">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:24</a> :in `block (2 levels) in
|
317
|
-
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `block (5 levels) in
|
315
|
+
<div class="backtrace"><pre><a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/resources/formatter_specs.rb&line=18">./spec/rspec/core/resources/formatter_specs.rb:18</a> :in `block (3 levels) in <top (required)>'
|
316
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=24">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:24</a> :in `block (2 levels) in <module:Formatters>'
|
317
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `block (5 levels) in <module:Formatters>'
|
318
318
|
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `open'
|
319
|
-
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `block (4 levels) in
|
319
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `block (4 levels) in <module:Formatters>'
|
320
320
|
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `chdir'
|
321
|
-
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `block (3 levels) in
|
322
|
-
<pre class="ruby"><code><span class="linenum">
|
323
|
-
<span class="linenum">
|
324
|
-
<span class="offending"><span class="linenum">
|
325
|
-
<span class="linenum">
|
326
|
-
<span class="linenum">
|
321
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `block (3 levels) in <module:Formatters>'</pre></div>
|
322
|
+
<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>
|
323
|
+
<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>
|
324
|
+
<span class="offending"><span class="linenum">18</span> <span class="ident">pending</span> <span class="keyword">do</span></span>
|
325
|
+
<span class="linenum">19</span> <span class="number">1</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">1</span><span class="punct">)</span>
|
326
|
+
<span class="linenum">20</span> <span class="keyword">end</span></code></pre>
|
327
327
|
</div>
|
328
328
|
</dd>
|
329
329
|
</dl>
|
@@ -345,22 +345,23 @@ a {
|
|
345
345
|
<span class="failed_spec_name">fails</span>
|
346
346
|
<div class="failure" id="failure_2">
|
347
347
|
<div class="message"><pre>
|
348
|
-
expected 2
|
349
|
-
got 1
|
348
|
+
expected: 2
|
349
|
+
got: 1
|
350
350
|
|
351
351
|
(compared using ==)
|
352
352
|
</pre></div>
|
353
|
-
<div class="backtrace"><pre><a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/resources/formatter_specs.rb&line=33">./spec/rspec/core/resources/formatter_specs.rb:33</a> :in `block (2 levels) in
|
354
|
-
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=24">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:24</a> :in `block (2 levels) in
|
355
|
-
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `block (5 levels) in
|
353
|
+
<div class="backtrace"><pre><a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/resources/formatter_specs.rb&line=33">./spec/rspec/core/resources/formatter_specs.rb:33</a> :in `block (2 levels) in <top (required)>'
|
354
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=24">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:24</a> :in `block (2 levels) in <module:Formatters>'
|
355
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `block (5 levels) in <module:Formatters>'
|
356
356
|
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `open'
|
357
|
-
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `block (4 levels) in
|
357
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `block (4 levels) in <module:Formatters>'
|
358
358
|
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `chdir'
|
359
|
-
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `block (3 levels) in
|
360
|
-
<pre class="ruby"><code><span class="linenum">
|
361
|
-
<span class="linenum">
|
362
|
-
<span class="offending"><span class="linenum">
|
363
|
-
<span class="linenum">
|
359
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `block (3 levels) in <module:Formatters>'</pre></div>
|
360
|
+
<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>
|
361
|
+
<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>
|
362
|
+
<span class="offending"><span class="linenum">33</span> <span class="number">1</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eq</span><span class="punct">(</span><span class="number">2</span><span class="punct">)</span></span>
|
363
|
+
<span class="linenum">34</span> <span class="keyword">end</span>
|
364
|
+
<span class="linenum">35</span><span class="keyword">end</span></code></pre>
|
364
365
|
</div>
|
365
366
|
</dd>
|
366
367
|
</dl>
|
@@ -375,14 +376,14 @@ expected 2
|
|
375
376
|
<span class="failed_spec_name">fails with a backtrace that has no file</span>
|
376
377
|
<div class="failure" id="failure_3">
|
377
378
|
<div class="message"><pre>foo</pre></div>
|
378
|
-
<div class="backtrace"><pre>(erb):1:in
|
379
|
-
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/resources/formatter_specs.rb&line=41">./spec/rspec/core/resources/formatter_specs.rb:41</a> :in `block (2 levels) in
|
380
|
-
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=24">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:24</a> :in `block (2 levels) in
|
381
|
-
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `block (5 levels) in
|
379
|
+
<div class="backtrace"><pre>(erb):1:in `<main>'
|
380
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/resources/formatter_specs.rb&line=41">./spec/rspec/core/resources/formatter_specs.rb:41</a> :in `block (2 levels) in <top (required)>'
|
381
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=24">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:24</a> :in `block (2 levels) in <module:Formatters>'
|
382
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `block (5 levels) in <module:Formatters>'
|
382
383
|
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `open'
|
383
|
-
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `block (4 levels) in
|
384
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=47">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:47</a> :in `block (4 levels) in <module:Formatters>'
|
384
385
|
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `chdir'
|
385
|
-
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `block (3 levels) in
|
386
|
+
<a href="txmt://open?url=file:///Users/david/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb&line=46">./spec/rspec/core/formatters/text_mate_formatter_spec.rb:46</a> :in `block (3 levels) in <module:Formatters>'</pre></div>
|
386
387
|
<pre class="ruby"><code><span class="linenum">-1</span><span class="comment"># Couldn't get snippet for (erb)</span></code></pre>
|
387
388
|
</div>
|
388
389
|
</dd>
|
@@ -391,7 +392,7 @@ expected 2
|
|
391
392
|
<span class="failed_spec_name">fails with a backtrace containing an erb file</span>
|
392
393
|
<div class="failure" id="failure_4">
|
393
394
|
<div class="message"><pre>Exception</pre></div>
|
394
|
-
<div class="backtrace"><pre><a href="txmt://open?url=file:///foo.html.erb&line=1">/foo.html.erb:1</a> :in
|
395
|
+
<div class="backtrace"><pre><a href="txmt://open?url=file:///foo.html.erb&line=1">/foo.html.erb:1</a> :in `<main>': foo (RuntimeError)</pre></div>
|
395
396
|
<pre class="ruby"><code><span class="linenum">-1</span><span class="comment"># Couldn't get snippet for /foo.html.erb</span></code></pre>
|
396
397
|
</div>
|
397
398
|
</dd>
|