fixed issues with deleting files and issue with json method not defined for the mock-double for rspec-tests in lib

This commit is contained in:
Ralf Teusner
2016-06-02 14:27:49 +02:00
parent d980ffb4c0
commit f7e7db54ec
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
require 'rails_helper'
describe DockerContainerPool do
let(:container) { double(:start_time => Time.now, :status => 'available') }
let(:container) { double(:start_time => Time.now, :status => 'available', :json => {'State' => {'Running' => true}}) }
def reload_class
load('docker_container_pool.rb')