Example #1
0
        public void ListFrontPageStories()
        {
            // login using regular creds
            var session = User.Login(Configuration.GetKey("username"), Configuration.GetKey("password"));

            // Get posts from the front page
            var posts = FrontPage.List(session);

            // ensure we have posts on the front page
            Assert.IsTrue(posts.Count > 0);
        }