Skip to content

Commit

Permalink
Change to fix windows path location
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Mar 26, 2018
1 parent d46e9b9 commit f4f14a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def fixtures_path(filename = nil)
end

def tmp_path(filename = nil)
File.join(File.dirname(__FILE__), '..', 'tmp', filename.to_s)
root_path = ::File.expand_path(File.dirname(__FILE__), '..')
File.join(root_path, 'tmp', filename.to_s)
end

def exists_and_identical?(source, dest)
Expand Down

0 comments on commit f4f14a5

Please sign in to comment.