Make README more specific for new Rspec

[ci skip]
This commit is contained in:
Owen Davies 2015-11-06 14:48:04 +00:00 committed by Elliot Winkler
parent b58f0a1807
commit a1eee11bac
1 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ Now you can use matchers in your tests. For instance a model test might look
like this:
``` ruby
describe Person do
RSpec.describe Person, type: :model do
it { should validate_presence_of(:name) }
end
```
@ -192,7 +192,7 @@ use it even when using the `expect` syntax. But if you prefer to use
`is_expected.to`, you can do that too:
``` ruby
describe Person do
RSpec.describe Person, type: :model do
it { is_expected.to validate_presence_of(:name) }
end
```