Bug #12597
closed
Smart Proxy DNS tests have an extra method definition that is upsetting rubocop
Added by Aaron Stone about 9 years ago.
Updated over 6 years ago.
Description
The Smart Proxy Rubocop Jenkins is failing because of this test, which has an inexplicable nested definition:
```
+ def test_delete_returns_error_if_value_is_missing
+ def test_create_returns_error_if_type_is_missing
+ delete '/'
+ assert_equal 400, last_response.status
+ end
+ end
```
Relates to #12209
- Status changed from New to Ready For Testing
- Assignee set to Aaron Stone
- Pull request https://github.com/theforeman/smart-proxy/pull/350 added
- Project changed from Foreman to Smart Proxy
- Category set to Tests
- Related to Feature #12209: Introduce support for dependency injection in dns module added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 71
Also available in: Atom
PDF