diff --git a/test/test_refine.rb b/test/test_refine.rb index f6b7aae..454ec9b 100644 --- a/test/test_refine.rb +++ b/test/test_refine.rb @@ -3,9 +3,9 @@ require_relative '../lib/refine.rb' class TestRefine < MiniTest::Unit::TestCase - + def setup - @refine_project = Refine.new({ "project_name" => 'date_cleanup', "file_name" => '../test/dates.txt' }) + @refine_project = Refine.new({ "project_name" => 'date_cleanup', "file_name" => './test/dates.txt' }) end def test_refine_initializer_has_instance_variable_project_name @@ -21,11 +21,11 @@ def test_get_all_project_metadata end def test_apply_operations - assert @refine_project.apply_operations( '../test/operations.json' ) + assert @refine_project.apply_operations( './test/operations.json' ) end def test_call - assert @refine_project.call( 'apply-operations', 'operations' => File.read( 'operations.json' ) ) + assert @refine_project.call( 'apply-operations', 'operations' => File.read( './test/operations.json' ) ) end def after_tests