Skip to content

Add simplified assertions for PageResult and RedirectToPageResult#36

Open
RaceProUK wants to merge 1 commit intofluentassertions:masterfrom
RaceProUK:master
Open

Add simplified assertions for PageResult and RedirectToPageResult#36
RaceProUK wants to merge 1 commit intofluentassertions:masterfrom
RaceProUK:master

Conversation

@RaceProUK
Copy link

  • BeRedirectToPageResult() has a full set of With*() methods similar to assertions like BeRedirectToActionResult()
  • BePageResult() has no With*() methods as PageModel.Page returns a new PageResult without setting any properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant