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

@@ -4,7 +4,7 @@ require 'producer/core/testing'
module Producer::Core
module Testing
describe MockRemote do
subject(:remote) { MockRemote.new('some_host.example') }
subject(:remote) { described_class.new('some_host.example') }
it 'is a remote' do
expect(remote).to be_a Remote