Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Related to Smart Proxy - Feature #12209: Introduce support for dependency injection in dns moduleClosed10/19/2015Actions
Actions

Also available in: Atom PDF