From 3b1db232f13fcad48af229bb28bf08ac24422639 Mon Sep 17 00:00:00 2001 From: Caleb Buxton Date: Tue, 24 Apr 2018 09:58:05 -0700 Subject: [PATCH] Updating paths for execution from project root --- test/test_refine.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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