Skip to content

Instantly share code, notes, and snippets.

@dchelimsky
Created July 6, 2010 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dchelimsky/465311 to your computer and use it in GitHub Desktop.
Save dchelimsky/465311 to your computer and use it in GitHub Desktop.
$ be rspec spec
No examples were matched by {:focus=>true}, running all
............................................................................................................................**.................FFF.......*.....................................................*.FFFF............................................FF.FF....FFF..FFFFF.......................................................
1) RSpec::Core::ExampleGroup #metadata adds the the file_path to metadata
Failure/Error: Unable to find matching line from backtrace
expected: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/example_group_spec.rb",
got: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/example_group_spec.rb:190" (using ==)
# ./spec/rspec/core/example_group_spec.rb:190
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
2) RSpec::Core::ExampleGroup #metadata has a reader for file_path
Failure/Error: Unable to find matching line from backtrace
expected: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/example_group_spec.rb",
got: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/example_group_spec.rb:194" (using ==)
# ./spec/rspec/core/example_group_spec.rb:194
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
3) RSpec::Core::ExampleGroup #metadata adds the line_number to metadata
Failure/Error: Unable to find matching line from backtrace
expected: 198,
got: 0 (using ==)
Diff:
@@ -1,2 +1,2 @@
-198
+0
# ./spec/rspec/core/example_group_spec.rb:198
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
4) RSpec::Core::Formatters::BaseFormatter extract_file_path extracts file path from backtrace line in *nix
Failure/Error: Unable to find matching line from backtrace
expected: "/path/file.html.erb_spec.rb",
got: "/path/file.html.erb_spec.rb:14:in `block (2 levels) in <top (required)>'" (using ==)
# ./spec/rspec/core/formatters/base_formatter_spec.rb:60
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
5) RSpec::Core::Formatters::BaseFormatter extract_file_path extracts file path from backtrace line in Windows
Failure/Error: Unable to find matching line from backtrace
expected: "C:/path/file.html.erb_spec.rb",
got: "C:/path/file.html.erb_spec.rb:14:in `block (2 levels) in <top (required)>'" (using ==)
# ./spec/rspec/core/formatters/base_formatter_spec.rb:64
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
6) RSpec::Core::Formatters::BaseFormatter extract_line_number extract line number from backtrace line in *nix
Failure/Error: Unable to find matching line from backtrace
expected: "14",
got: "/path/file.html.erb_spec.rb" (using ==)
# ./spec/rspec/core/formatters/base_formatter_spec.rb:70
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
7) RSpec::Core::Formatters::BaseFormatter extract_line_number extract line number from backtrace line in Windows
Failure/Error: Unable to find matching line from backtrace
expected: "14",
got: "C" (using ==)
# ./spec/rspec/core/formatters/base_formatter_spec.rb:74
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
8) RSpec::Core::Metadata file path finds the first spec file in the caller array
Failure/Error: Unable to find matching line from backtrace
expected: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/metadata_spec.rb",
got: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/metadata_spec.rb:128" (using ==)
# ./spec/rspec/core/metadata_spec.rb:132
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
9) RSpec::Core::Metadata file path finds the first spec file in the caller array in Windows
Failure/Error: Unable to find matching line from backtrace
expected: "C:/path/file_spec.rb",
got: "C:/path/file_spec.rb:139" (using ==)
# ./spec/rspec/core/metadata_spec.rb:143
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
10) RSpec::Core::Metadata line number finds the line number with the first spec file in the backtrace
Failure/Error: Unable to find matching line from backtrace
expected: 162,
got: 0 (using ==)
Diff:
@@ -1,2 +1,2 @@
-162
+0
# ./spec/rspec/core/metadata_spec.rb:166
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
11) RSpec::Core::Metadata line number uses the number after the first : for ruby 1.9
Failure/Error: Unable to find matching line from backtrace
expected: 172,
got: 0 (using ==)
Diff:
@@ -1,2 +1,2 @@
-172
+0
# ./spec/rspec/core/metadata_spec.rb:176
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
12) RSpec::Core::Metadata metadata for example extracts file path from caller
Failure/Error: Unable to find matching line from backtrace
expected: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/metadata_spec.rb",
got: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/metadata_spec.rb:181" (using ==)
# ./spec/rspec/core/metadata_spec.rb:203
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
13) RSpec::Core::Metadata metadata for example extracts line number from caller
Failure/Error: Unable to find matching line from backtrace
expected: 181,
got: 0 (using ==)
Diff:
@@ -1,2 +1,2 @@
-181
+0
# ./spec/rspec/core/metadata_spec.rb:207
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
14) RSpec::Core::Metadata metadata for example extracts location from caller
Failure/Error: Unable to find matching line from backtrace
expected: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/metadata_spec.rb:181",
got: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/metadata_spec.rb:181:0" (using ==)
# ./spec/rspec/core/metadata_spec.rb:211
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
15) RSpec::Core::Metadata apply_condition matches the group when the line_number is the example group line number
Failure/Error: Unable to find matching line from backtrace
expected false to be true
# ./spec/rspec/core/metadata_spec.rb:243
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
16) RSpec::Core::Metadata apply_condition matches the example when the line_number is the grandparent example group line number
Failure/Error: Unable to find matching line from backtrace
expected false to be true
# ./spec/rspec/core/metadata_spec.rb:248
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
17) RSpec::Core::Metadata apply_condition matches the example when the line_number is the parent example group line number
Failure/Error: Unable to find matching line from backtrace
expected false to be true
# ./spec/rspec/core/metadata_spec.rb:253
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
18) RSpec::Core::Metadata apply_condition matches the example when the line_number is the example line number
Failure/Error: Unable to find matching line from backtrace
expected false to be true
# ./spec/rspec/core/metadata_spec.rb:258
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
19) RSpec::Core::Metadata apply_condition matches when the line number is between this example and the next
Failure/Error: Unable to find matching line from backtrace
expected false to be true
# ./spec/rspec/core/metadata_spec.rb:263
# ./spec/spec_helper.rb:73
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73
Finished in 2.48 seconds
331 examples, 19 failures, 4 pending
Pending:
::DRbCommandLine with server running should output green colorized text when running with --colour option (figure out a way to properly sandbox this)
# /Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/drb_command_line_spec.rb:148:0
::DRbCommandLine with server running should output red colorized text when running with -c option (figure out a way to properly sandbox this)
# /Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/drb_command_line_spec.rb:153:0
RSpec::Core::ExampleGroup #before, after, and around hooks treats an error in before(:all) as a failure (fix issue 21 - treat error in before all as failure)
# /Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/example_group_spec.rb:297:0
RSpec::Core::Formatters::BaseFormatter #format_backtrace displays the full backtrace when the example is given the :full_backtrace => true option (Not Yet Implemented)
# /Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/base_formatter_spec.rb:49:0
$ be rspec spec
No examples were matched by {:focus=>true}, running all
.....................................................................................................................................FFF.......*.....................................................*.FFFF.................F..........................FF.FF....FFF..FFFFF.......................................................
1) RSpec::Core::ExampleGroup #metadata adds the the file_path to metadata
Failure/Error: Unable to find matching line from backtrace
expected: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/example_group_spec.rb",
got: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/example_group_spec.rb:190:in `block (3 levels) in <module:Core>'" (using ==)
# ./spec/rspec/core/example_group_spec.rb:190:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
2) RSpec::Core::ExampleGroup #metadata has a reader for file_path
Failure/Error: Unable to find matching line from backtrace
expected: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/example_group_spec.rb",
got: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/example_group_spec.rb:194:in `block (3 levels) in <module:Core>'" (using ==)
# ./spec/rspec/core/example_group_spec.rb:194:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
3) RSpec::Core::ExampleGroup #metadata adds the line_number to metadata
Failure/Error: Unable to find matching line from backtrace
expected: 198,
got: 0 (using ==)
Diff:
@@ -1,2 +1,2 @@
-198
+0
# ./spec/rspec/core/example_group_spec.rb:198:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
4) RSpec::Core::Formatters::BaseFormatter extract_file_path extracts file path from backtrace line in *nix
Failure/Error: Unable to find matching line from backtrace
expected: "/path/file.html.erb_spec.rb",
got: "/path/file.html.erb_spec.rb:14:in `block (2 levels) in <top (required)>'" (using ==)
# ./spec/rspec/core/formatters/base_formatter_spec.rb:60:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
5) RSpec::Core::Formatters::BaseFormatter extract_file_path extracts file path from backtrace line in Windows
Failure/Error: Unable to find matching line from backtrace
expected: "C:/path/file.html.erb_spec.rb",
got: "C:/path/file.html.erb_spec.rb:14:in `block (2 levels) in <top (required)>'" (using ==)
# ./spec/rspec/core/formatters/base_formatter_spec.rb:64:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
6) RSpec::Core::Formatters::BaseFormatter extract_line_number extract line number from backtrace line in *nix
Failure/Error: Unable to find matching line from backtrace
expected: "14",
got: "/path/file.html.erb_spec.rb" (using ==)
# ./spec/rspec/core/formatters/base_formatter_spec.rb:70:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
7) RSpec::Core::Formatters::BaseFormatter extract_line_number extract line number from backtrace line in Windows
Failure/Error: Unable to find matching line from backtrace
expected: "14",
got: "C" (using ==)
# ./spec/rspec/core/formatters/base_formatter_spec.rb:74:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
8) RSpec::Core::Formatters::TextMateFormatter should produce HTML identical to the one we designed manually
Failure/Error: Unable to find matching line from backtrace
There is no HTML file with expected content for this platform: /Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html
# ./spec/rspec/core/formatters/text_mate_formatter_spec.rb:28:in `block (2 levels) in <module:Formatters>'
# ./spec/rspec/core/formatters/text_mate_formatter_spec.rb:54:in `block (3 levels) in <module:Formatters>'
# ./spec/rspec/core/formatters/text_mate_formatter_spec.rb:49:in `chdir'
# ./spec/rspec/core/formatters/text_mate_formatter_spec.rb:49:in `block (2 levels) in <module:Formatters>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
9) RSpec::Core::Metadata file path finds the first spec file in the caller array
Failure/Error: Unable to find matching line from backtrace
expected: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/metadata_spec.rb",
got: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/metadata_spec.rb:128" (using ==)
# ./spec/rspec/core/metadata_spec.rb:132:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
10) RSpec::Core::Metadata file path finds the first spec file in the caller array in Windows
Failure/Error: Unable to find matching line from backtrace
expected: "C:/path/file_spec.rb",
got: "C:/path/file_spec.rb:139" (using ==)
# ./spec/rspec/core/metadata_spec.rb:143:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
11) RSpec::Core::Metadata line number finds the line number with the first spec file in the backtrace
Failure/Error: Unable to find matching line from backtrace
expected: 162,
got: 0 (using ==)
Diff:
@@ -1,2 +1,2 @@
-162
+0
# ./spec/rspec/core/metadata_spec.rb:166:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
12) RSpec::Core::Metadata line number uses the number after the first : for ruby 1.9
Failure/Error: Unable to find matching line from backtrace
expected: 172,
got: 0 (using ==)
Diff:
@@ -1,2 +1,2 @@
-172
+0
# ./spec/rspec/core/metadata_spec.rb:176:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
13) RSpec::Core::Metadata metadata for example extracts file path from caller
Failure/Error: Unable to find matching line from backtrace
expected: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/metadata_spec.rb",
got: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/metadata_spec.rb:181:in `block (3 levels) in <module:Core>'" (using ==)
# ./spec/rspec/core/metadata_spec.rb:203:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
14) RSpec::Core::Metadata metadata for example extracts line number from caller
Failure/Error: Unable to find matching line from backtrace
expected: 181,
got: 0 (using ==)
Diff:
@@ -1,2 +1,2 @@
-181
+0
# ./spec/rspec/core/metadata_spec.rb:207:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
15) RSpec::Core::Metadata metadata for example extracts location from caller
Failure/Error: Unable to find matching line from backtrace
expected: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/metadata_spec.rb:181",
got: "/Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/metadata_spec.rb:181:in `block (3 levels) in <module:Core>':0" (using ==)
# ./spec/rspec/core/metadata_spec.rb:211:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
16) RSpec::Core::Metadata apply_condition matches the group when the line_number is the example group line number
Failure/Error: Unable to find matching line from backtrace
expected false to be true
# ./spec/rspec/core/metadata_spec.rb:243:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
17) RSpec::Core::Metadata apply_condition matches the example when the line_number is the grandparent example group line number
Failure/Error: Unable to find matching line from backtrace
expected false to be true
# ./spec/rspec/core/metadata_spec.rb:248:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
18) RSpec::Core::Metadata apply_condition matches the example when the line_number is the parent example group line number
Failure/Error: Unable to find matching line from backtrace
expected false to be true
# ./spec/rspec/core/metadata_spec.rb:253:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
19) RSpec::Core::Metadata apply_condition matches the example when the line_number is the example line number
Failure/Error: Unable to find matching line from backtrace
expected false to be true
# ./spec/rspec/core/metadata_spec.rb:258:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
20) RSpec::Core::Metadata apply_condition matches when the line number is between this example and the next
Failure/Error: Unable to find matching line from backtrace
expected false to be true
# ./spec/rspec/core/metadata_spec.rb:263:in `block (3 levels) in <module:Core>'
# ./spec/spec_helper.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:49:in `instance_eval'
# ./spec/spec_helper.rb:49:in `sandboxed'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
Finished in 1.05 seconds
321 examples, 20 failures, 2 pending
Pending:
RSpec::Core::ExampleGroup #before, after, and around hooks treats an error in before(:all) as a failure (fix issue 21 - treat error in before all as failure)
# /Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/example_group_spec.rb:297
RSpec::Core::Formatters::BaseFormatter #format_backtrace displays the full backtrace when the example is given the :full_backtrace => true option (Not Yet Implemented)
# /Users/dchelimsky/projects/ruby/rspec2/repos/rspec-core/spec/rspec/core/formatters/base_formatter_spec.rb:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment