Fix global defaults file path.
This commit is contained in:
parent
951cf80f09
commit
1244d780c1
@ -1,3 +1,5 @@
|
||||
require 'pathname'
|
||||
|
||||
module Jasmine::Headless
|
||||
autoload :CoffeeScriptCache, 'jasmine/headless/coffee_script_cache'
|
||||
autoload :SpecFileAnalyzer, 'jasmine/headless/spec_file_analyzer'
|
||||
|
@ -21,7 +21,7 @@ module Jasmine
|
||||
}
|
||||
|
||||
DEFAULTS_FILE = File.join(Dir.pwd, '.jasmine-headless-webkit')
|
||||
GLOBAL_DEFAULTS_FILE = File.expand_path("~/#{DEFAULTS_FILE}")
|
||||
GLOBAL_DEFAULTS_FILE = File.expand_path('~/.jasmine-headless-webkit')
|
||||
|
||||
def self.from_command_line
|
||||
options = new
|
||||
|
Loading…
Reference in New Issue
Block a user