Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing unnecessary namespace resolution operators from Cucumber hel…

…per [ci skip]
  • Loading branch information...
commit 422ca91b54c92f88392ad92aa3588d2e7b636466 1 parent 4f6c575
@batter batter authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.