From 37e56249be5ad031b98b505769d5869fddff58da Mon Sep 17 00:00:00 2001 From: Wojciech Zawistowski Date: Mon, 28 Oct 2013 19:15:40 +0100 Subject: [PATCH] fixes wrong placement of expect in View Topic integration test --- test/javascripts/integration/view_topic_test.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/javascripts/integration/view_topic_test.js b/test/javascripts/integration/view_topic_test.js index 7ed77d105..5dd092eeb 100644 --- a/test/javascripts/integration/view_topic_test.js +++ b/test/javascripts/integration/view_topic_test.js @@ -1,12 +1,10 @@ integration("View Topic"); test("Enter a Topic", function() { + expect(2); visit("/t/internationalization-localization/280").then(function() { - expect(2); - ok(exists("#topic"), "The was rendered"); ok(exists("#topic .topic-post"), "The topic has posts"); }); - });