spec/support/20_combustion.rb in attr_masker-0.2.1 vs spec/support/20_combustion.rb in attr_masker-0.3.0
- old
+ new
@@ -1,10 +1,10 @@
# (c) 2017 Ribose Inc.
#
Combustion.path = "spec/dummy"
-if ENV["WITHOUT_ACTIVE_RECORD"].nil?
- Combustion.initialize! :active_record
-else
+if WITHOUT_ACTIVE_RECORD
Combustion.initialize!
+else
+ Combustion.initialize! :active_record
end