diff --git a/spec/selection-spec.coffee b/spec/selection-spec.coffee index e5aa2c055..7503ddbec 100644 --- a/spec/selection-spec.coffee +++ b/spec/selection-spec.coffee @@ -1,11 +1,11 @@ -EditSession = require '../src/edit-session' +TextEditor = require '../src/text-editor' describe "Selection", -> [buffer, editSession, selection] = [] beforeEach -> buffer = project.bufferForPathSync('sample.js') - editSession = new EditSession(buffer: buffer, tabLength: 2) + editSession = new TextEditor(buffer: buffer, tabLength: 2) selection = editSession.getSelection() afterEach -> diff --git a/spec/edit-session-spec.coffee b/spec/text-editor-spec.coffee similarity index 99% rename from spec/edit-session-spec.coffee rename to spec/text-editor-spec.coffee index 2107c3928..9db47ce42 100644 --- a/spec/edit-session-spec.coffee +++ b/spec/text-editor-spec.coffee @@ -1,6 +1,6 @@ clipboard = require 'clipboard' -describe "EditSession", -> +describe "TextEditor", -> [buffer, editSession, lineLengths] = [] convertToHardTabs = (buffer) ->