示例#1
0
 public void FindsCorrectViewPathInNonBinFolder()
 {
     Assert.Equal(ExamplePathPrefix, RazorViews.AssemblyAppRoot(String.Format("{0}{1}me.dll", ExamplePathPrefix, Path.DirectorySeparatorChar)));
 }
示例#2
0
 public RazorViewsTests()
 {
     RazorViews.Initialize();
 }
 public void find_the_file_in_the_bottle_order()
 {
     RazorViews.FindInShared("Foo").Origin.ShouldEqual("BottleA");
 }
 public void search_through_all_bottles_to_find_shared()
 {
     RazorViews.FindInShared("Bar").Origin.ShouldEqual("BottleB");
 }
 public void application_wins_if_the_file_exists_in_multiple_places()
 {
     RazorViews.FindInShared("Application").Origin.ShouldEqual(ContentFolder.Application);
 }