public FubuContinuation Post(AboutUpdateModel model)
		{
			var dto = new AboutInfoDto {AboutText = model.AboutText_BigText, ThingsILikeUrls = model.ThingsILikeUrls.ToStrings()};
			updater.Update(dto);

			return FubuContinuation.RedirectTo<ViewEndpoint>(x => x.Get(new AboutLinkModel()));
		}
		public void Updates_about_text()
		{
			var info = new AboutInfoDto
			           	{
			           		AboutText = "I am the about text"
			           	};

			new RavenAboutInfoUpdater(Session).Update(info);

			Session.SaveChanges();

			var fromSession = GetAboutInfoFromSession();

			Assert.That(fromSession.AboutText, Is.EqualTo(info.AboutText));
		}
		public void Update(AboutInfoDto info)
		{
			var currentData = session
				.Advanced
				.LuceneQuery<AboutInfo>()
				.WaitForNonStaleResults()
				.FirstOrDefault();

			if (currentData == null)
				session.Store(new AboutInfo(info.AboutText, info.ThingsILikeUrls));
			else
			{
				currentData.AboutText       = info.AboutText;
				currentData.ThingsILikeUrls = info.ThingsILikeUrls;
			}
		}
		public void SetUp()
		{
			var u = new RavenAboutInfoUpdater(Session);

			UpdateAndSave(u, "Blah blah blah", new List<string>());
			UpdateAndSave(u, "gooblah, gooblah, gooblah", new List<string> { "http://www.bbc.co.uk" });

			lastUpdate = new AboutInfoDto
							{
								AboutText = "Jimmy, Jimmy, Jimmy",
								ThingsILikeUrls = new List<string> {"http://www.planetf1.com" },
							};

			UpdateAndSave(u, lastUpdate.AboutText, lastUpdate.ThingsILikeUrls);

			fromSession = GetAboutInfoFromSession();
		}