Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix guardfile_path spec for Windows support

  • Loading branch information...
commit 9928f80c7690ca723b06fd759c13560f2d9dfb79 1 parent b69aa76
Aaron Kalin and Veezus Kreist authored Hashrocket Workstation committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/guard/dsl_spec.rb
2  spec/guard/dsl_spec.rb
View
@@ -22,7 +22,7 @@
describe ".guardfile_path" do
let(:local_path) { File.join(Dir.pwd, 'Guardfile') }
- let(:user_path) { File.join(ENV["HOME"], 'Guardfile') }
+ let(:user_path) { File.expand_path(File.join("~", 'Guardfile')) }
before do
File.stub(:exist? => false)
Please sign in to comment.
Something went wrong with that request. Please try again.