diff --git a/spec/lib/stream/tag_spec.rb b/spec/lib/stream/tag_spec.rb index 978104e5d..5f319bf69 100644 --- a/spec/lib/stream/tag_spec.rb +++ b/spec/lib/stream/tag_spec.rb @@ -81,7 +81,7 @@ describe Stream::Tag do it 'returns posts regardless of the tag case' do stream = Stream::Tag.new(nil, "newhere") - stream.posts.should == [@post_lc, @post_uc, @post_cp] + stream.posts.should =~ [@post_lc, @post_uc, @post_cp] end end diff --git a/spec/models/status_message_spec.rb b/spec/models/status_message_spec.rb index 50293c818..24a75c6f5 100644 --- a/spec/models/status_message_spec.rb +++ b/spec/models/status_message_spec.rb @@ -270,8 +270,8 @@ STR msg_lc.save; msg_uc.save; msg_cp.save tag_array = msg_lc.tags - msg_uc.tags.should == tag_array - msg_cp.tags.should == tag_array + msg_uc.tags.should =~ tag_array + msg_cp.tags.should =~ tag_array end end