Revision 9d43fc71
Added by Michael Moll almost 6 years ago
test/unit/proxy_api/template_test.rb | ||
---|---|---|
end
|
||
|
||
test "should get template server url" do
|
||
@template.expects(:get).with('templateServer').returns(fake_rest_client_response({'templateServer'=>'mytemplateserver'}))
|
||
@template.expects(:get).with('templateServer').returns(fake_rest_client_response({'templateServer' => 'mytemplateserver'}))
|
||
assert_equal('mytemplateserver', @template.template_url)
|
||
end
|
||
end
|
Also available in: Unified diff
Fixes #19789 - fix Layout/SpaceAroundOperators cop