summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/support/integration_test_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/integration_test_helper.rb b/spec/support/integration_test_helper.rb
index b937f1b..737e988 100644
--- a/spec/support/integration_test_helper.rb
+++ b/spec/support/integration_test_helper.rb
@@ -8,7 +8,7 @@ module IntegrationTestHelper
end
def add_file(name, content = nil)
- full_path = Pathname.new("#{project_path}/#{name}")
+ full_path = Pathname.new(File.join(project_path, name))
FileUtils.mkdir_p(full_path.dirname)
IO.write(full_path, block_given? ? yield : content)
end