Skip to content

Bumped version and documented breaking change #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 18, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions BREAKING_CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# Version 3.0.0

## ShouldRedirectTo Method

It used to be the case that when you invoked `ShouldRedirectTo<TController>` where `TController` is the same type as the `Controller` under test like this:

var sut = new HomeController();
sut.WithCallTo(c => c.Index())
.ShouldRedirectTo<HomeController>(c => c.Index());

an `ActionResultAssertionException` would be thrown.

An exception is no longer thrown.

### Reason

There is no reason why a test like this one should fail.

You can read the original problem specification and discussion [here](https://github.com/TestStack/TestStack.FluentMVCTesting/issues/47).


### Fix

If your project has been impacted by this particular breaking change, you might consider reevaluate the correctness of the affected tests.

# Version 2.0.0

## ShouldRenderFileStream Method
Expand Down
2 changes: 1 addition & 1 deletion NextVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.0
3.0.0