From a866d2a42f8036c931abd883b2473aa0bfe994d9 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Tue, 1 Jul 2014 16:58:50 +0000 Subject: [PATCH] Update TestEnvHelpers for rspec 2.99.x --- 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 ad20f58..6429aa5 100644 --- a/spec/support/test_env_helpers.rb +++ b/spec/support/test_env_helpers.rb @@ -28,7 +28,7 @@ module TestEnvHelpers end def build_remote - fs = RSpec::Mocks::Mock.new('remote fs', __declared_as: 'Double') + fs = RSpec::Mocks::Double.new('remote fs') remote = Producer::Core::Testing::MockRemote.new('some_host.test') remote.define_singleton_method(:fs) { fs } remote