Method: RSpec::Core::Pending#skip
- Defined in:
- lib/rspec/core/pending.rb
#skip ⇒ void #skip(message) ⇒ void
Marks an example as pending and skips execution.
110 111 112 113 114 115 116 |
# File 'lib/rspec/core/pending.rb', line 110 def skip(=nil) current_example = RSpec.current_example Pending.mark_skipped!(current_example, ) if current_example raise SkipDeclaredInExample.new() end |