Sha256: b9c082b2cab2fcd64af8ef68863bbafb30d5b7502da73a73e64d02cd9e2db481

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"+features/user_visits_post_page_spec.js;FI"
pathname;TI"f/Users/brian/github/codelation/blogelator/spec/javascripts/features/user_visits_post_page_spec.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+ö‰LSI"length;TijI"digest;TI"%d2dd017b0434cbd84580b19ec73260ed;FI"source;TI"jtest('User visits the the page for a post.', function() {
  visit('/posts/1');
  andThen(function() {
    // List of posts
    equal(find('.posts-list .post.active').length, 1, 'The post should be selected in the side bar');

    // Main content area
    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"%ec2ff176c99bd994eadd97f4ccb0ec32;FI"
_version;TI"%a56df69ef97ba4d9f1a23bf9b0add58a;F

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blogelator-0.2.5 spec/dummy/tmp/cache/assets/development/sprockets/e55198eac891bbb0bfc98ef7ad095674
blogelator-0.2.4 spec/dummy/tmp/cache/assets/development/sprockets/e55198eac891bbb0bfc98ef7ad095674