Sha256: 41dbd4927d4dc23b4d8fd023dc6a1a5cb2417424a86375a57dee03cd127c44e1
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; TI" 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"%6a0ceceece77278e352766fd377c4c34; 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"%e00a07151f657dac72c28aa51c5ac8ba; FI" _version; TI"%361c512b9086418778df946c0d278f91; F
Version data entries
2 entries across 1 versions & 1 rubygems