Sha256: ca839b9f17bb55241bbdeeaa6469f3c6430801ae3311afd34e1f6e6abe3da8df

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

describe("app", function() {

  beforeEach(function() {
    app._singleton.add('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.1 spec/javascripts/appSpec.js