Refactor specs

This commit is contained in:
Thibault Jouan
2014-09-27 12:20:24 +00:00
parent 52e8338a7d
commit 52dcfcedd3
17 changed files with 21 additions and 21 deletions

View File

@@ -3,7 +3,7 @@ require 'spec_helper'
module Producer::Core
describe Remote do
let(:hostname) { 'some_host.example' }
subject(:remote) { Remote.new(hostname) }
subject(:remote) { described_class.new(hostname) }
describe '#initialize' do
it 'assigns the given hostname' do