mirror of
https://github.com/atom/atom.git
synced 2026-02-03 03:05:05 -05:00
Use correct textmate package names
This commit is contained in:
@@ -9,8 +9,8 @@ describe "GrammarSelector", ->
|
||||
beforeEach ->
|
||||
window.rootView = new RootView
|
||||
atom.activatePackage('grammar-selector')
|
||||
atom.activatePackage('text.tmbundle', sync: true)
|
||||
atom.activatePackage('javascript.tmbundle', sync: true)
|
||||
atom.activatePackage('text-tmbundle', sync: true)
|
||||
atom.activatePackage('javascript-tmbundle', sync: true)
|
||||
rootView.open('sample.js')
|
||||
editor = rootView.getActiveView()
|
||||
textGrammar = _.find syntax.grammars, (grammar) -> grammar.name is 'Plain Text'
|
||||
|
||||
@@ -6,8 +6,8 @@ describe "link package", ->
|
||||
[editor] = []
|
||||
|
||||
beforeEach ->
|
||||
atom.activatePackage('javascript.tmbundle', sync: true)
|
||||
atom.activatePackage('hyperlink-helper.tmbundle', sync: true)
|
||||
atom.activatePackage('javascript-tmbundle', sync: true)
|
||||
atom.activatePackage('hyperlink-helper-tmbundle', sync: true)
|
||||
window.rootView = new RootView
|
||||
rootView.open('sample.js')
|
||||
atom.activatePackage('link')
|
||||
|
||||
@@ -8,7 +8,7 @@ describe "MarkdownPreviewView", ->
|
||||
beforeEach ->
|
||||
project.setPath(project.resolve('markdown'))
|
||||
buffer = project.bufferForPath('file.markdown')
|
||||
atom.activatePackage('ruby.tmbundle', sync: true)
|
||||
atom.activatePackage('ruby-tmbundle', sync: true)
|
||||
preview = new MarkdownPreviewView(buffer)
|
||||
|
||||
afterEach ->
|
||||
|
||||
@@ -8,7 +8,7 @@ Package = require 'package'
|
||||
describe "Snippets extension", ->
|
||||
[buffer, editor, editSession] = []
|
||||
beforeEach ->
|
||||
atom.activatePackage('javascript.tmbundle', sync: true)
|
||||
atom.activatePackage('javascript-tmbundle', sync: true)
|
||||
window.rootView = new RootView
|
||||
rootView.open('sample.js')
|
||||
|
||||
@@ -235,7 +235,7 @@ describe "Snippets extension", ->
|
||||
|
||||
describe "snippet loading", ->
|
||||
beforeEach ->
|
||||
atom.loadPackage('package-with-broken-snippets.tmbundle', sync: true)
|
||||
atom.loadPackage('package-with-broken-snippets-tmbundle', sync: true)
|
||||
atom.loadPackage('package-with-snippets')
|
||||
|
||||
jasmine.unspy(window, "setTimeout")
|
||||
|
||||
@@ -4,8 +4,8 @@ describe "Spell check", ->
|
||||
[editor] = []
|
||||
|
||||
beforeEach ->
|
||||
atom.activatePackage('text.tmbundle', sync: true)
|
||||
atom.activatePackage('javascript.tmbundle', sync: true)
|
||||
atom.activatePackage('text-tmbundle', sync: true)
|
||||
atom.activatePackage('javascript-tmbundle', sync: true)
|
||||
window.rootView = new RootView
|
||||
rootView.open('sample.js')
|
||||
config.set('spell-check.grammars', [])
|
||||
|
||||
@@ -184,8 +184,8 @@ describe "StatusBar", ->
|
||||
|
||||
describe "grammar label", ->
|
||||
beforeEach ->
|
||||
atom.activatePackage('text.tmbundle', sync: true)
|
||||
atom.activatePackage('javascript.tmbundle', sync: true)
|
||||
atom.activatePackage('text-tmbundle', sync: true)
|
||||
atom.activatePackage('javascript-tmbundle', sync: true)
|
||||
|
||||
it "displays the name of the current grammar", ->
|
||||
expect(statusBar.find('.grammar-name').text()).toBe 'JavaScript'
|
||||
|
||||
Reference in New Issue
Block a user