Project

General

Profile

Revision 10546a55

Added by Daniel Lobato Garcia over 6 years ago

Fixes #15098 - Scope registry by taxonomies

View differences:

test/functionals/api/v2/containers_controller_test.rb
46 46
          end
47 47

  
48 48
          test 'delete removes a container in foreman and in Docker host' do
49
            Fog.mock!
49 50
            delete :destroy, :id => @container.id
51
            Fog.unmock!
50 52
            assert_response :success
51 53
            assert_equal ActiveSupport::JSON.decode(response.body)['name'], 'foo'
52 54
          end

Also available in: Unified diff