Skip to content
Browse files

Removing unnecessary namespace resolution operators from Cucumber hel…

…per [ci skip]
  • Loading branch information...
1 parent 4f6c575 commit 422ca91b54c92f88392ad92aa3588d2e7b636466 @batter batter committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/paper_trail/frameworks/cucumber.rb
View
8 lib/paper_trail/frameworks/cucumber.rb
@@ -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

0 comments on commit 422ca91

Please sign in to comment.
Something went wrong with that request. Please try again.