Sha256: c2aecf6932e46b5991a50353884b56d234584e6472ccf29c71e637babb688313

Contents?: true

Size: 1.66 KB

Versions: 1

Compression:

Stored size: 1.66 KB

Contents

{I"
class:ETI"ProcessedAsset;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"dependency_digest;TI"%7fee245111035f119b4fcdfc089fbd01;FI"required_paths;T[I"q/Users/brian/github/codelation/blogelator/spec/javascripts/blogelator/features/user_visits_post_page_spec.js;FI"dependency_paths;T[{I"	path;TI"q/Users/brian/github/codelation/blogelator/spec/javascripts/blogelator/features/user_visits_post_page_spec.js;FI"
mtime;TI"2014-04-14T20:55:11-05:00;TI"digest;TI"%c4042c3b8c3e5ff676742bb0718344f6;FI"
_version;TI"%a56df69ef97ba4d9f1a23bf9b0add58a;F

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blogelator-0.2.4 spec/dummy/tmp/cache/assets/development/sprockets/375737a4764448b32867b125a4c00812