fixed order dependent spec
This commit is contained in:
parent
63ba45f0a7
commit
0a29408497
1 changed files with 3 additions and 1 deletions
|
|
@ -43,7 +43,9 @@ describe StatusMessage do
|
|||
|
||||
describe '.tag_steam' do
|
||||
it 'returns status messages tagged with the tag' do
|
||||
StatusMessage.send(:tag_stream, [@tag_id]).should == [@sm1, @sm2]
|
||||
tag_stream = StatusMessage.send(:tag_stream, [@tag_id])
|
||||
tag_stream.should include @sm1
|
||||
tag_stream.should include @sm2
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue