Add Remote::FS class

This commit is contained in:
Thibault Jouan
2013-09-25 00:17:25 +00:00
parent 8531c49e6d
commit d240df0281
3 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
require 'spec_helper'
module Producer::Core
describe Remote::FS do
let(:remote) { Remote.new('some_host.example') }
subject(:fs) { Remote::FS.new(remote) }
describe '#new' do
it 'assigns the remote given as argument' do
expect(fs.instance_eval { @remote }).to be remote
end
end
end
end