Skip to content
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

RouteDataAssertions is not compatible with the latest version of FluentAssertions #24

Closed
rikrak opened this issue Mar 13, 2015 · 3 comments

Comments

@rikrak
Copy link
Contributor

rikrak commented Mar 13, 2015

Hi,

My project uses nuget package 0.5.0.0 of FluentAssertions.MVC5. I've just upgraded to v3.3.0 of FluentAssertions and I notice there are some breaking changes in Fluent Assertions.

When running a test that uses the RouteDataAssertions:

routeData.Should()
.HaveController("Customer")
.HaveAction("Edit")
.HaveValue("Id", 123);

I receive the following MissingMethodException:
System.MissingMethodException: Method not found: 'Boolean FluentAssertions.Execution.AssertionScope.FailWith(System.String, System.Object[])'.

Looks like Fluent Assertions has changed the signature to this method to be:

public Continuation FailWith(string message, params object[] args)

(ref: dennisdoomen/fluentassertions@2cf13d4)
Rik

@kevinkuszyk
Copy link
Member

I just pushed version 0.6.0-beta1 to Nuget which is built against Fluent Assertions v3.3.0. I think that should fix your issue. Can you try that version and confirm? Thanks!

@rikrak
Copy link
Contributor Author

rikrak commented Mar 17, 2015

Hi @kevinkuszyk
The beta package appears to have fixed the issue.

Thanks!

In what sort of timeframe will this be pushed to live?

Rik

@kevinkuszyk
Copy link
Member

Version 0.6.0 is up on NuGet now.

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

No branches or pull requests

2 participants