public void configured_is_returned()
 {
     FetchRepositories.ShouldHaveCountOf(1).Single().Name.ShouldBe("iron-hills");
 }
 public void fetches_from_named_are_returned_before_higher_priority_ones()
 {
     FetchRepositories.ShouldHaveCountOf(2)
     .Check(x => x.ElementAt(0).Name.ShouldBe("celduin"))
     .Check(x => x.ElementAt(1).Name.ShouldBe("iron-hills"));
 }
Example #3
0
 public void fetch_order_is_preserved()
 {
     FetchRepositories.ShouldHaveCountOf(2)
     .Check(_ => _.ElementAt(0).Name.ShouldBe("iron-hills"))
     .Check(_ => _.ElementAt(1).Name.ShouldBe("iron-hills2"));
 }
Example #4
0
 public void repository_fetches_are_converted()
 {
     FetchRepositories.ShouldHaveCountOf(2)
     .Check(_ => _.ElementAt(0).Name.ShouldBe("iron-hills"))
     .Check(_ => _.ElementAt(1).Name.ShouldBe("minhiriath"));
 }
Example #5
0
 public void repositories_are_converted()
 {
     FetchRepositories.ShouldHaveCountOf(1).Single().Name.ShouldBe("mithlond");
 }