Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/christopheraue/ruby-rspec-is_expected_block

Redefines is_expected as expect{ subject }
https://github.com/christopheraue/ruby-rspec-is_expected_block

rspec ruby

Last synced: about 2 months ago
JSON representation

Redefines is_expected as expect{ subject }

Awesome Lists containing this project

README

        

# RSpec::IsExpectedBlock

Patches RSpec to redefine `is_expected` as `expect{ subject }`.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'rspec-is_expected_block'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install rspec-is_expected_block

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).