public void Read_should_assume_entire_script_is_the_setup_if_no_tags_are_present()
{
// arrange
var tempFilePath = Path.GetTempFileName();
using (DisposableFile.Watch(tempFilePath))
{
File.WriteAllText(tempFilePath, "this is the setup");
var file = new MigrationScriptFile(tempFilePath);
// act
var contents = file.Read();
// assert
Assert.AreEqual("this is the setup", contents.Setup, "setup not parsed correctly");
Assert.AreEqual(string.Empty, contents.Teardown, "teardown should be empty");
}
}