From b25942b7339b0ba44cea5d7a1b3cadd2028b29cf Mon Sep 17 00:00:00 2001 From: Martin Prout Date: Tue, 24 Dec 2013 08:49:30 +0000 Subject: [PATCH] Update rp5_test.rb --- test/rp5_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rp5_test.rb b/test/rp5_test.rb index e1d0f687..6bfc9eee 100644 --- a/test/rp5_test.rb +++ b/test/rp5_test.rb @@ -34,7 +34,7 @@ def test_proc_root path = File.expand_path("~/.rp5rc") config = File.exists?(path)? Psych.load_file(path) : {} root = config.empty? ? '' : config['PROCESSING_ROOT'] - assert root.length > 0, "You need to set your PROCESSING_ROOT in .rp5rc" + assert root =~ /processing/, "You need to set your PROCESSING_ROOT in .rp5rc" end