Project

General

Profile

« Previous | Next » 

Revision 2094e4e8

Added by Greg Sutcliffe over 9 years ago

Refs #969 - Foreman-side changes for serving templates from the proxy

View differences:

test/functional/api/v2/smart_proxies_controller_test.rb
end
test "should get index filtered by name" do
get :index, { :search => "name=\"TFTP Proxy\"" }
get :index, { :search => "name ~ \"*TFTP*\"" }
assert_response :success
refute_empty assigns(:smart_proxies)
smart_proxies = ActiveSupport::JSON.decode(@response.body)

Also available in: Unified diff