Spec loading of scoped properties when activating TextMate packages

This commit is contained in:
Nathan Sobo 2013-03-26 17:27:21 -06:00
parent eef13e7db8
commit 6a5ca3805e

View File

@ -175,6 +175,11 @@ describe "the `atom` global", ->
atom.activatePackage('ruby.tmbundle', sync: true)
expect(syntax.selectGrammar("file.rb").name).toBe "Ruby"
it "translates the package's scoped properties to Atom terms", ->
expect(syntax.getProperty(['.source.ruby'], 'editor.commentStart')).toBeUndefined()
atom.activatePackage('ruby.tmbundle', sync: true)
expect(syntax.getProperty(['.source.ruby'], 'editor.commentStart')).toBe '# '
describe ".deactivatePackage(id)", ->
describe "atom packages", ->
it "calls `deactivate` on the package's main module", ->