Sha256: 01186e44e87dc815fb79323e3f7de5361461c211d5633165e51809ead324d644

Contents?: true

Size: 1.66 KB

Versions: 1

Compression:

Stored size: 1.66 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"7blogelator/features/user_visits_admin_page_spec.js;FI"
pathname;TI"r/Users/brian/github/codelation/blogelator/spec/javascripts/blogelator/features/user_visits_admin_page_spec.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+LSI"length;TiI"digest;TI"%f0486e35aff078726634f91b909cec3e;FI"source;TI"(function() {
  "use strict";

  module('User visits the admin page.');

  test('lists the existing posts in the side bar', function() {
    visit('/');
    andThen(function() {
      equal(find('.posts-list .post').length, 2, 'The index page should have 2 posts.');
      equal(find('.posts-list .post:first .date').text().trim(), 'January 12, 2014', 'The date should be displayed for each post');
      equal(find('.posts-list .post:first .summary').text().trim(), 'Hello world.', 'The summary should be displayed for each post');
    });
  });

  test('shows the first post in the content area', function() {
    visit('/');
    andThen(function() {
      equal(find('article.post h1').text().trim(), 'Ember Is Fun!', 'The first post title should be displayed');
    });
  });

})();
;TI"dependency_digest;TI"%b946ee03f10753db1a84f3de0bc653f1;FI"required_paths;T[I"r/Users/brian/github/codelation/blogelator/spec/javascripts/blogelator/features/user_visits_admin_page_spec.js;FI"dependency_paths;T[{I"	path;TI"r/Users/brian/github/codelation/blogelator/spec/javascripts/blogelator/features/user_visits_admin_page_spec.js;FI"
mtime;TI"2014-04-14T20:51:20-05:00;TI"digest;TI"%f0486e35aff078726634f91b909cec3e;FI"
_version;TI"%a56df69ef97ba4d9f1a23bf9b0add58a;F

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blogelator-0.2.4 spec/dummy/tmp/cache/assets/development/sprockets/279492e8ab55211d77563002d0b108e8