Skip to content

Commit

Permalink
Avoid Rubocop warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle committed Dec 10, 2018
1 parent 401ec1c commit 811b3cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/support/simple_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def initialize(_, server)
super
end

def do_GET(request, response) # rubocop:disable Style/MethodName
def do_GET(request, response) # rubocop:disable Naming/MethodName
if @simple_server.routes.include?(request.path)
@simple_server.routes[request.path].call request, response
else
Expand Down
2 changes: 1 addition & 1 deletion spec/support/slow_simple_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def initialize(_, server)
super
end

def do_GET(request, response) # rubocop:disable Style/MethodName
def do_GET(request, response) # rubocop:disable Naming/MethodName
sleep(0.3)
@simple_server.routes[request.path].call request, response
end
Expand Down

0 comments on commit 811b3cd

Please sign in to comment.