Update user stylesheet path in spec

This commit is contained in:
Kevin Sawicki 2014-01-30 16:58:35 -08:00
parent 1b17441bfe
commit caa16f2718

View File

@ -160,7 +160,7 @@ describe "ThemeManager", ->
describe "when the user stylesheet changes", ->
it "reloads it", ->
userStylesheetPath = path.join(temp.mkdirSync("atom"), 'user.css')
userStylesheetPath = path.join(temp.mkdirSync("atom"), 'styles.css')
fs.writeFileSync(userStylesheetPath, 'body {border-style: dotted !important;}')
spyOn(themeManager, 'getUserStylesheetPath').andReturn userStylesheetPath