Class RSpec::Core::ExampleGroup
In: lib/rspec/expectations/extensions/rspec/core/example_group.rb
Parent: Object

Methods

expect  

Classes and Modules

Module RSpec::Core::ExampleGroup::BlockAliases

Public Instance methods

Extends the submitted block with aliases to and to_not for should and should_not. Allows expectations like this:

  expect { this_block }.to change{this.expression}.from(old_value).to(new_value)
  expect { this_block }.to raise_error

[Validate]