Permalink
Browse files

minor doco updates to make it clear we are calling factory_girl methods

  • Loading branch information...
leriksen authored and joshuaclayton committed Feb 26, 2014
1 parent 7f31ba9 commit 4f8a9a002033e14a03930d5998bcc12099aa167a
Showing with 2 additions and 2 deletions.
  1. +2 −2 GETTING_STARTED.md
View
@@ -406,7 +406,7 @@ Sequences
---------
Unique values in a specific format (for example, e-mail addresses) can be
-generated using sequences. Sequences are defined by calling sequence in a
+generated using sequences. Sequences are defined by calling `sequence` in a
definition block, and values in a sequence are generated by calling
`generate`:
@@ -889,7 +889,7 @@ reassigned after your object has been instantiated, you'll want to `ignore` them
Although factory_girl is written to work with ActiveRecord out of the box, it
can also work with any Ruby class. For maximum compatibiltiy with ActiveRecord,
-the default initializer builds all instances by calling new on your build class
+the default initializer builds all instances by calling `new` on your build class
without any arguments. It then calls attribute writer methods to assign all the
attribute values. While that works fine for ActiveRecord, it actually doesn't
work for almost any other Ruby class.

0 comments on commit 4f8a9a0

Please sign in to comment.