Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 }
- Host: GitHub
- URL: https://github.com/christopheraue/ruby-rspec-is_expected_block
- Owner: christopheraue
- License: mit
- Created: 2017-06-06T19:03:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-06T19:03:48.000Z (over 7 years ago)
- Last Synced: 2024-04-24T13:36:25.660Z (10 months ago)
- Topics: rspec, ruby
- Language: Ruby
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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).