Project

General

Profile

Revision ada932ab

Added by Dmitri Dolguikh over 7 years ago

Fixes #7647: Added support for external registries

View differences:

test/functionals/containers_steps_controller_test.rb
8 8

  
9 9
    test 'sets a docker image and tag for a new container' do
10 10
      put :update, { :id => :image,
11
                     :image => { :docker_registry_id => '',
12
                                 :image_id => 'centos' },
11 13
                     :container_id => @container.id,
12
                     :image => 'centos',
13 14
                     :container => { :tag => 'latest' } }, set_session_user
14 15
      assert_response :found
15 16
      assert_redirected_to container_step_path(:container_id => @container.id,

Also available in: Unified diff