spec/concerns/dom_helpers_spec.coffee in luca-0.9.7 vs spec/concerns/dom_helpers_spec.coffee in luca-0.9.8
- old
+ new
@@ -4,13 +4,13 @@
v = new Luca.View(wrapperClass: "class-one class-two")
expect( v.$el.parent().is(".class-one.class-two") ).toEqual(true)
describe "Auto Assigning Class Names", ->
it "should apply the class of the component all the way up its hierarchy", ->
- c = new Luca.core.Container()
+ c = new Luca.Container()
expect( c.$el.is(".luca-container") ).toBeTruthy()
expect( c.$el.is(".luca-panel") ).toBeTruthy()
it "should leave out backbone and luca view classes", ->
- c = new Luca.core.Container()
+ c = new Luca.Container()
expect( c.$el.is(".luca-view") ).not.toBeTruthy()
expect( c.$el.is(".backbone-view") ).not.toBeTruthy()