Removing unnecessary namespace resolution operators from Cucumber helper [ci skip]
This commit is contained in:
parent
4f6c57550b
commit
422ca91b54
|
@ -1,9 +1,9 @@
|
|||
# before hook for Cucumber
|
||||
Before do
|
||||
::PaperTrail.enabled = false
|
||||
::PaperTrail.enabled_for_controller = true
|
||||
::PaperTrail.whodunnit = nil
|
||||
::PaperTrail.controller_info = {} if defined? ::Rails
|
||||
PaperTrail.enabled = false
|
||||
PaperTrail.enabled_for_controller = true
|
||||
PaperTrail.whodunnit = nil
|
||||
PaperTrail.controller_info = {} if defined? Rails
|
||||
end
|
||||
|
||||
module PaperTrail
|
||||
|
|
Loading…
Reference in New Issue