added shared behaviors for streams
This commit is contained in:
parent
9a4c478a7b
commit
6734aab378
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue