Castle.MonoRail.Framework.Tests.DefaultUrlBuilderTestCase.UseBasePathMustDiscardTheAreaIfTheValueIsDuplicated C# (CSharp) Method

UseBasePathMustDiscardTheAreaIfTheValueIsDuplicated() private method

		public void UseBasePathMustDiscardTheAreaIfTheValueIsDuplicated()
		{
			Assert.AreEqual("http://localhost/theArea/home/index.rails", urlBuilder.BuildUrl(areaUrl,
				DictHelper.Create("basepath=http://localhost/theArea", "area=theArea", "controller=home", "action=index")));

			Assert.AreEqual("http://localhost/theArea/home/index.rails", urlBuilder.BuildUrl(areaUrl,
				DictHelper.Create("basepath=http://localhost/theArea/", "area=theArea", "controller=home", "action=index")));
		}