diaspora/spec/lib/stream/public_spec.rb
Steven Hancock a8de3a5a3f Rails.root and File.join cleanup
- `Rails.root` is a `Pathname`, so let's use `Rails.root.join`
- Clean up most of the remaining `File.join`s
2012-06-11 03:13:20 -07:00

12 lines
257 B
Ruby

require 'spec_helper'
require Rails.root.join('spec', 'shared_behaviors', 'stream')
describe Stream::Public do
before do
@stream = Stream::Public.new(alice)
end
describe 'shared behaviors' do
it_should_behave_like 'it is a stream'
end
end