README.md in clockwork-mocks-1.1.0 vs README.md in clockwork-mocks-1.1.1
- old
+ new
@@ -37,11 +37,11 @@
```ruby
RSpec.describe ... do
clockwork_scheduler = nil
before do
- clockwork_scheduler ||= ClockworkMocks::Scheduler.init_rspec(->(a) { allow a }, ->(a) { receive a }, 'path/to/clock.rb')
+ clockwork_scheduler ||= ClockworkMocks::Scheduler.init_rspec(metod(:allow), method(:receive), 'path/to/clock.rb')
clockwork_scheduler.reset!
end
end
```
@@ -110,11 +110,11 @@
Bug reports and pull requests are welcome on GitHub at https://github.com/dpoetzsch/clockwork-mocks.
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
### TODO
-[x] Basic support for tasks with block
-[x] Support for `Clockwork.handler`
+- [x] Basic support for tasks with block
+- [x] Support for `Clockwork.handler`
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).