Sha256: f1d760d9825f1db013efb1a6eb09620321b425442a81f9e0edee164300df0865

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 KB

Contents

{I"
class:ETI"BundledAsset;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"required_assets_digest;TI"%b946ee03f10753db1a84f3de0bc653f1;FI"
_version;TI"%a56df69ef97ba4d9f1a23bf9b0add58a;F

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
blogelator-0.2.4 spec/dummy/tmp/cache/assets/development/sprockets/09527178f66076a943179ca037474b93
blogelator-0.2.4 spec/dummy/tmp/cache/assets/development/sprockets/ecc78f68f932e12412baef3e14485076