Skip to content

Commit

Permalink
Fix the secret dfln page that no one knows about
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-burns committed Oct 27, 2010
1 parent efea28f commit 771cadd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/dflns/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<tbody>
<% Dfln.all.each do |dfln| %>
<tr>
<td><%= dfln.user.name %> (<%= dfln.user.phone_number %>)</td>
<td><%= dfln.about_whom.name %> (<%= dfln.about_whom.phone_number %>)</td>
<td><%= dfln.user.try(:name) %> (<%= dfln.user.try(:phone_number) %>)</td>
<td><%= dfln.about_whom.try(:name) %> (<%= dfln.about_whom.try(:phone_number) %>)</td>
<td><%= dfln.text %></td>
</tr>
<% end %>
Expand Down
4 changes: 4 additions & 0 deletions features/morning_after.feature
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ Feature: Scene 2: the morning after
Then I should see "Mike"
Then I should see "11111111111"
And I should see "Blew my mind"

When "11111111111" texts instalover with "safeword"
And I am on the secret dflns page
Then I should see "Emma"

0 comments on commit 771cadd

Please sign in to comment.