Sha256: 2154871dff5a71844f525835206952c48705968182a2e30b1e9b6238782a1ba5

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

describe("app", function() {

  beforeEach(function() {
    app._addSingleton('example', function(){});
  });

  it("should be able to create example singleton", function() {
    expect(app.example).not.toEqual(undefined);
  });

  it("should generate an uuid", function() {
    expect(app._uuid()).toMatch(/^\w{8}-\w{4}-\w{4}-\w{4}-\w{12}$/);
  });

});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appjs-rails-1.0.0 spec/javascripts/appSpec.js