added shared behaviors for streams

This commit is contained in:
Maxwell Salzberg 2011-09-30 21:41:24 -07:00
parent 9a4c478a7b
commit 6734aab378

View file

@ -138,4 +138,10 @@ describe AspectStream do
@stream.ajax_stream?.should be_false
end
end
describe 'shared behaviors' do
before do
@stream = AspectStream.new(alice, alice.aspects.map(&:id))
end
it_should_behave_like 'it is a stream'
end
end