spec/dummy/tmp/cache/assets/D32/500/sprockets%2F6927df5a24d91c75d001e2b5600ab8be in teabag-0.4.2 vs spec/dummy/tmp/cache/assets/D32/500/sprockets%2F6927df5a24d91c75d001e2b5600ab8be in teabag-0.4.3
- old
+ new
@@ -1,8 +1,8 @@
-o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1356489154.9002082:@value"{I"
+o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1356728525.5844638:@value"$ {I"
class:EFI"BundledAsset; FI"logical_path; FI"$teabag/jasmine/jasmine_jspec.js; FI"
pathname; FI"Z/Users/jejacks0n/Projects/teabag/spec/javascripts/teabag/jasmine/jasmine_jspec.coffee; FI"content_type; FI"application/javascript; FI"
-mtime; FI"2012-12-25T18:52:22-07:00; FI"length; FiI"digest; F"%9cd6b9614ed22132c7a7db95c760c8a2I"source; FI"(function() {
+mtime; FI"2012-12-28T14:02:00-07:00; FI"length; Fi:I"digest; F"%370b3325fc4137388e8b31dbc4cbd00dI"source; FI":(function() {
console.log("testing console output");
describe("Teabag running Jasmine", function() {
it("is awesome", function() {
@@ -42,7 +42,22 @@
return it("is something cool", function() {
return expect(passing).toEqual(true);
});
});
+ fixture.preload("fixture.html", "fixture.json");
+
+ describe("Using fixtures", function() {
+ fixture.set("<h2>Another Title</h2>");
+ beforeEach(function() {
+ return this.fixtures = fixture.load("fixture.html", "fixture.json", true);
+ });
+ return it("loads fixtures", function() {
+ expect($("h1", fixture.el).text()).toBe("Title");
+ expect($("h2", fixture.el).text()).toBe("Another Title");
+ expect(this.fixtures[0]).toBe(fixture.el);
+ return expect(this.fixtures[1]).toEqual(fixture.json[0]);
+ });
+ });
+
}).call(this);
-; FI"required_assets_digest; F"%b62c48e049403d15c02838eb75b12d88I"
_version; F"%6776f581a4329e299531e1d52aa59832
+; FI"required_assets_digest; F"%6ea2e0a84720c3117219b35f86d0d751I"
_version; F"%6776f581a4329e299531e1d52aa59832
\ No newline at end of file