Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
`assert_schema_conform` is deprecated now, so use `assert_response_schema_confirm` instead.
  • Loading branch information
willnet committed Sep 3, 2020
1 parent 7a98b55 commit cde1c76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -3,7 +3,7 @@
[![Build Status](https://travis-ci.org/willnet/committee-rails.svg?branch=master)](https://travis-ci.org/willnet/committee-rails)
[![Gem Version](https://badge.fury.io/rb/committee-rails.svg)](https://badge.fury.io/rb/committee-rails)

You can use `assert_schema_conform` in rails.
You can use `assert_response_schema_confirm` in rails.

## Installation

Expand Down Expand Up @@ -44,7 +44,7 @@ describe 'request spec' do
describe 'GET /' do
it 'conform json schema' do
get '/'
assert_schema_conform
assert_response_schema_confirm
end
end
end
Expand Down

0 comments on commit cde1c76

Please sign in to comment.