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:
@ -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')
|
||||
|
Reference in New Issue
Block a user