spec/cli/cli_spec.rb in sixword-0.3.4 vs spec/cli/cli_spec.rb in sixword-0.3.5
- old
+ new
@@ -1,11 +1,11 @@
RSpec.describe Sixword::CLI do
- @@test_warnings = Set.new
+ TestWarnings = Set.new
def warn_once(label, message)
- unless @@test_warnings.include?(label)
+ unless TestWarnings.include?(label)
warn message
- @@test_warnings << label
+ TestWarnings << label
end
end
if RUBY_ENGINE == 'jruby' && JRUBY_VERSION.start_with?('1.7')
RunningJruby17 = true