-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed broke tests caused by Nancy upgrade
- Loading branch information
Jonas Hovgaard
committed
Jul 5, 2013
1 parent
ea6b63c
commit 6856c47
Showing
9 changed files
with
37 additions
and
69 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using Nancy; | ||
using Nancy.Testing.Fakes; | ||
|
||
namespace Servant.Web.Tests.Helpers | ||
{ | ||
public class Bootstrapper : Server.Bootstrapper | ||
{ | ||
// Using this because http://stackoverflow.com/questions/15138994/sequence-contains-more-than-one-element-an-nancybootstrapperbase-class | ||
protected override IRootPathProvider RootPathProvider | ||
{ | ||
get | ||
{ | ||
return new FakeRootPathProvider(); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="CsQuery" version="1.3.4" targetFramework="net45" /> | ||
<package id="Nancy" version="0.16.1" targetFramework="net45" /> | ||
<package id="Nancy.Testing" version="0.16.1" targetFramework="net45" /> | ||
<package id="Nancy.Validation.DataAnnotations" version="0.16.1" targetFramework="net45" /> | ||
<package id="Nancy" version="0.17.1" targetFramework="net45" /> | ||
<package id="Nancy.Testing" version="0.17.1" targetFramework="net45" /> | ||
<package id="Nancy.Validation.DataAnnotations" version="0.17.1" targetFramework="net45" /> | ||
<package id="NUnit" version="2.6.2" targetFramework="net45" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters