fixing broken specs

This commit is contained in:
Jon Rohan
2013-01-21 19:53:36 -08:00
parent 76ff418575
commit 7582952a13
2 changed files with 6 additions and 6 deletions

View File

@@ -95,14 +95,14 @@ describe "SelectList", ->
miniEditor.trigger 'core:move-down'
miniEditor.trigger 'core:move-down'
expect(list.scrollBottom()).toBe itemHeight * 3
expect(list.scrollBottom()).toBe itemHeight * 2
miniEditor.trigger 'core:move-down'
expect(list.scrollBottom()).toBe itemHeight * 4
expect(list.scrollBottom()).toBe itemHeight * 2
miniEditor.trigger 'core:move-up'
miniEditor.trigger 'core:move-up'
expect(list.scrollBottom()).toBe itemHeight * 3
expect(list.scrollBottom()).toBe itemHeight * 2
describe "the core:confirm event", ->
describe "when there is an item selected (because the list in not empty)", ->

View File

@@ -21,7 +21,7 @@ describe "TextMateTheme", ->
it "returns rulesets representing the theme's global style settings", ->
expect(rulesets[0]).toEqual
selector: '.editor'
selector: '.editor, .editor .gutter'
properties:
'background-color': '#141414'
'color': '#F8F8F8'
@@ -37,7 +37,7 @@ describe "TextMateTheme", ->
'background-color': "rgba(221, 240, 255, 0.2)"
it "returns an array of objects representing the theme's scope selectors", ->
expect(rulesets[11]).toEqual
expect(rulesets[12]).toEqual
comment: "Invalid Deprecated"
selector: ".invalid.deprecated"
properties:
@@ -45,7 +45,7 @@ describe "TextMateTheme", ->
# 'font-style': 'italic'
'text-decoration': 'underline'
expect(rulesets[12]).toEqual
expect(rulesets[13]).toEqual
comment: "Invalid Illegal"
selector: ".invalid.illegal"
properties: