Revision abd8f1d1
Added by Daniel Lobato Garcia over 9 years ago
test/functional/api/v2/hosts_controller_test.rb | ||
---|---|---|
require 'test_helper'
|
||
|
||
class Api::V2::HostsControllerTest < ActionController::TestCase
|
||
|
||
def setup
|
||
@host = FactoryGirl.create(:host)
|
||
end
|
||
... | ... | |
assert_equal 1, response['subtotal']
|
||
assert_equal @bmchost.name, response['search']
|
||
end
|
||
|
||
end
|
||
|
||
end
|
Also available in: Unified diff
Refs #3809 - Remove cops for empty lines