test/unit/formatters_test.rb in has_setting-1.0.3 vs test/unit/formatters_test.rb in has_setting-1.0.4
- old
+ new
@@ -1,5 +1,6 @@
-require File.dirname(__FILE__) + '/../test_helper'
+require_relative '../test_helper'
+
include HasSetting
class FormattersTest < Test::Unit::TestCase
def test_for_type
[:string, :float, :floats, :int, :ints, :strings, :boolean, :booleans, :strict_boolean, :strict_booleans].each do |symbol|
assert(Formatters.for_type(symbol), "No formatter for #{symbol}")
\ No newline at end of file