diff --git a/spec/atom/selection-spec.coffee b/spec/atom/selection-spec.coffee index 69d10a4b1..0a124bdfe 100644 --- a/spec/atom/selection-spec.coffee +++ b/spec/atom/selection-spec.coffee @@ -118,7 +118,7 @@ describe "Selection", -> expect(selection.regions.length).toBe 3 expect(selection.find('.selection').length).toBe 3 - describe "when a copy event is triggered", -> + describe ".copy()", -> beforeEach -> atom.native.writeToPasteboard('first') expect(atom.native.readFromPasteboard()).toBe 'first' @@ -137,5 +137,3 @@ describe "Selection", -> selection.copy() expect(atom.native.readFromPasteboard()).toBe 'first' - -