Skip to content

Commit

Permalink
Eliminate a potentially-confusing aspect of FactoryGirl example.
Browse files Browse the repository at this point in the history
I don't want someone to think that `#titleize` is necessary.
  • Loading branch information
toddthomas committed Apr 18, 2017
1 parent f0d2fd9 commit a9252ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Expand Up @@ -23,7 +23,7 @@ This library was first developed to use in factories. It can be used
with Factory Girl like this.

Factory.define(:user) do |u|
u.name { "#{RandomWord.adjs.next.titleize} User" }
u.name { "#{RandomWord.adjs.next} User" }
u.email { "#{name.gsub(/ +/, '.')}@example.com" }
end

Expand Down

0 comments on commit a9252ee

Please sign in to comment.