Example #1
0
        public void TestOrderController_OrderPrint_ShouldRenderTheOrderInPdf(bool ShowCostPricing)
        {
            var result = orderController.OrderPrint(orderVMLight.ProjectId,
                                                    orderVMLight.QuoteId,
                                                    orderVMLight.OrderId,
                                                    ShowCostPricing) as ViewResult;

            Assert.That(result.ViewName, Is.EqualTo("OrderPrint"));
        }