- `Rails.root` is a `Pathname`, so let's use `Rails.root.join` - Clean up most of the remaining `File.join`s
12 lines
257 B
Ruby
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
|