Skip to content

Commit

Permalink
Tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mizzy committed Oct 11, 2016
1 parent 62f6a98 commit 0505333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/serverspec/type/service.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Serverspec::Type
class Service < Base
def enabled?(level, under = nil)
def enabled?(level, under=nil)
check_method = "check_service_is_enabled" + (under ? "_#{under}" : '')

if level
Expand Down

0 comments on commit 0505333

Please sign in to comment.