Skip to content

Commit

Permalink
Simplify ERB example code
Browse files Browse the repository at this point in the history
  • Loading branch information
jroes committed Apr 20, 2013
1 parent 615a2cb commit 385edec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/source/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ ERB allows you to embed Ruby code within templates. The YAML fixture format is p
```erb
<% 1000.times do |n| %>
user_<%= n %>:
username: <%= "user%03d" % n %>
email: <%= "user%03d@example.com" % n %>
username: <%= "user#{n}" %>
email: <%= "user#{n}@example.com" %>
<% end %>
```

Expand Down

0 comments on commit 385edec

Please sign in to comment.