From 608a316bdd577dce198af1e0fe92cbe1fa0f16e4 Mon Sep 17 00:00:00 2001 From: Florian Staudacher Date: Thu, 30 May 2013 17:24:49 +0200 Subject: [PATCH] remove ["a", "b", "C"] from the void of nothingness [wtf] --- spec/models/status_message_spec.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/spec/models/status_message_spec.rb b/spec/models/status_message_spec.rb index b160ae294..3e9bef962 100644 --- a/spec/models/status_message_spec.rb +++ b/spec/models/status_message_spec.rb @@ -161,9 +161,6 @@ STR it 'escapes the link title' do p = @people[0].profile p.first_name="" -["a", "b", "A", "C"]\ -.inject(Hash.new){ |h,element| h[element.downcase] = element unless h[element.downcase] ; h }\ -.values p.save! @sm.format_mentions(@sm.raw_message).should_not include(@people[0].profile.first_name)