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