spec/dummy/spec/javascripts/templating_spec.js in konacha-0.10.0 vs spec/dummy/spec/javascripts/templating_spec.js in konacha-1.0.0.rc1
- old
+ new
@@ -1,8 +1,9 @@
//= require spec_helper
+//= require jquery
describe("templating", function(){
it("is built in to Sprockets", function(){
- $('#test').html(JST['templates/hello']());
- $('#test h1').text().should.equal('Hello Konacha!');
+ $('#konacha').html(JST['templates/hello']());
+ $('#konacha h1').text().should.equal('Hello Konacha!');
});
});