Permalink
Browse files

Display more info from each tweet

  • Loading branch information...
1 parent b8e063b commit fffa157ea4f203f6a930bdafd8401902e492bf68 @joshuaclayton committed May 22, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 app/views/tweets/show.html.erb
  2. +4 −4 features/search_twitter.feature
@@ -1,5 +1,5 @@
<ul class='tweets'>
<% @tweets.each do |tweet| %>
- <li><%= tweet.text %></li>
+ <li><%= tweet.text %> <%= tweet.from_user_name %></li>
<% end %>
</ul>
@@ -11,9 +11,9 @@ Feature: Search twitter by hashtag
@javascript
Scenario: User views metadata for each tweet
Given Twitter returns the following tweets for the search term "#rails":
- | text |
- | I love #rails |
- | Thoughtbot is awesome #rails |
- | nyc > boston #rails |
+ | text | from_user_name |
+ | I love #rails | Josh |
+ | Thoughtbot is awesome #rails | Blake |
+ | nyc > boston #rails | Steve |
When I search for the hashtag "rails"
Then I should see 3 tweets

0 comments on commit fffa157

Please sign in to comment.