lib/smart_kv/check.rb in smart_kv-0.2.6 vs lib/smart_kv/check.rb in smart_kv-0.2.7
- old
+ new
@@ -1,7 +1,7 @@
module SmartKv::Check
def has_did_you_mean_key_error?
- !ENV['TRAVIS'] && defined?(DidYouMean::KeyErrorChecker)
+ defined?(DidYouMean::KeyErrorChecker)
end
module_function :has_did_you_mean_key_error?
def production?
(ENV['RAILS_ENV'] || ENV['RACK_ENV']) == "production"