From 1e3cd696c83966afc5f342f899badd21cf6df85e Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Thu, 25 Sep 2014 20:55:13 +0000 Subject: [PATCH] Use a verifying double for remote FS in specs --- spec/support/test_env_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/test_env_helpers.rb b/spec/support/test_env_helpers.rb index 4b32efa..2e6e13a 100644 --- a/spec/support/test_env_helpers.rb +++ b/spec/support/test_env_helpers.rb @@ -36,7 +36,7 @@ module TestEnvHelpers end def build_remote - fs = RSpec::Mocks::Double.new('remote fs') + fs = instance_spy Producer::Core::Remote::FS remote = Producer::Core::Testing::MockRemote.new('some_host.test') remote.define_singleton_method(:fs) { fs } remote