Revision f4459c11
Added by David Davis about 8 years ago
test/functional/api/v1/reports_controller_test.rb | ||
---|---|---|
end
|
||
|
||
test "should get last report for given host only" do
|
||
main_report = FactoryGirl.create(:config_report)
|
||
main_report = FactoryGirl.create(:config_report)
|
||
FactoryGirl.create_list(:report, 5)
|
||
get :last, {:host_id => main_report.host.to_param }
|
||
assert_response :success
|
Also available in: Unified diff
Refs #3809 - Turning on some rubocop cops