1. Richo Healey
  2. twat

Commits

Richo Healey  committed dc80d16

Fix broken test

  • Participants
  • Parent commits c677acf
  • Branches master

Comments (0)

Files changed (1)

File lib/twat/actions.rb

View file
  • Ignore whitespace
     # Format a tweet all pretty like
     def format(twt)
       # if config.color
-      if tweet.user.screen_name.to_sym == account_name.to_sym
+      if twt.user.screen_name == account_name.to_s
         puts "#{twt.user.screen_name.bold.blue}: #{twt.text}"
       else
         puts "#{twt.user.screen_name.bold.cyan}: #{twt.text}"