Sha256: aee43b53b1adc0aecc9ba5178b83739928581ec6996457379f3c4f7b1dc7a8ca
Contents?: true
Size: 1.28 KB
Versions: 2
Compression:
Stored size: 1.28 KB
Contents
{I" class:ETI"BundledAsset; FI"logical_path; TI"6blogelator/features/user_visits_post_page_spec.js; FI" pathname; TI"q/Users/brian/github/codelation/blogelator/spec/javascripts/blogelator/features/user_visits_post_page_spec.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+‘LSI"length; TiI"digest; TI"%c4042c3b8c3e5ff676742bb0718344f6; FI"source; TI"(function() { "use strict"; module('User visits the the page for a post.'); test('the post is selected', function() { visit('/posts/post'); andThen(function() { equal(find('.posts-list .post.active').length, 1, 'The post element has the class `active`'); }); }); test('the post is displayed in the content area', function() { visit('/posts/post'); andThen(function() { equal(find('article.post h1').text().trim(), 'Ember Is Fun!', 'The selected post title should be displayed'); equal(find('article.post .date').text().trim(), 'January 12, 2014', 'The selected post date should be displayed'); ok(find('article.post .body').html().indexOf('<p>Hello world.</p>' > 0), 'The selected post body should be displayed'); }); }); })(); ; TI"required_assets_digest; TI"%7fee245111035f119b4fcdfc089fbd01; FI" _version; TI"%a56df69ef97ba4d9f1a23bf9b0add58a; F
Version data entries
2 entries across 1 versions & 1 rubygems