Skip to content

Instantly share code, notes, and snippets.

@charlietanksley
Created December 6, 2012 18:42
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 charlietanksley/4226966 to your computer and use it in GitHub Desktop.
Save charlietanksley/4226966 to your computer and use it in GitHub Desktop.
Show failures in pending blocks
RSpec.configure do |config|
config.show_failures_in_pending_blocks = true
end
describe Array do
pending 'slowest' do
expect([1, 2, 3].reverse).to eq([2])
end
it 'faster' do
true
end
end
__END__
1.9.3-p194 spec
$ rspec sample_spec.rb
*.
Pending:
Array slowest
# No reason given
# ./sample_spec.rb:6
Finished in 0.00031 seconds
2 examples, 0 failures, 1 pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment