test/test_data_mapper.rb in pagify-0.7.1 vs test/test_data_mapper.rb in pagify-0.8.0
- old
+ new
@@ -1,8 +1,15 @@
-require 'test/helper'
-require 'test/helper_pagify'
-require 'test/helper_model'
+
+if respond_to?(:require_relative, true)
+ require_relative 'helper'
+ require_relative 'helper_pagify'
+ require_relative 'helper_model'
+else
+ require 'test/helper'
+ require 'test/helper_pagify'
+ require 'test/helper_model'
+end
require 'pagify/data_mapper'
class TestDataMapper < TestCase
include PagifyCase