README.md in minitest-keyword-1.0.1 vs README.md in minitest-keyword-1.0.2
- old
+ new
@@ -8,11 +8,11 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'minitest-keyword'
+gem "minitest-keyword"
```
And then execute:
$ bundle
@@ -21,19 +21,19 @@
$ gem install minitest-keyword
## Usage
-Add `require 'minitest/keyword'` to your `test_helper.rb` script. In your tests you will now be able to change your assertions from:
+Add `require "minitest/keyword"` to your `test_helper.rb` script. In your tests you will now be able to change your assertions from:
```ruby
-assert_equal 'foo', foo.inspect
+assert_equal "foo", foo.inspect
```
to:
```ruby
-assert_equal expected: 'foo', actual: foo.inspect
+assert_equal expected: "foo", actual: foo.inspect
```
All of the standard Minitest assertions can now be used with keyword arguments. Note that this gem is still backwards-compatible with Minitest itself, so your existing tests won't break.
## Cheat Sheet