Revision 8ba0380d
Added by Justin Sherrill about 10 years ago
test/controllers/api/v2/content_view_versions_controller_test.rb | ||
---|---|---|
setup_controller_defaults_api
|
||
models
|
||
permissions
|
||
ContentViewVersion.any_instance.stubs(:package_count).returns(0)
|
||
ContentViewVersion.any_instance.stubs(:errata_count).returns(0)
|
||
end
|
||
|
||
def test_index
|
Also available in: Unified diff
fixes #4782 - speeding up CV Version content count methods
Also adapting Package to use normal tire search and moving old
search method to legacy_search