Change string to User class reference in Getting Started doc

User was quoted in the example that presumably shows how to refer to a
class directly, which makes the subsequent usage example

> you can also pass a symbol or string,

confusing.
This commit is contained in:
Paul Jensen 2020-04-20 14:46:56 -04:00 committed by Daniel Colson
parent c7b06a7821
commit 78662b5010
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ It is also possible to explicitly specify the class:
```ruby
# This will use the User class (otherwise Admin would have been guessed)
factory :admin, class: "User"
factory :admin, class: User
```
If the constant is not available