You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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)
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!
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
The text was updated successfully, but these errors were encountered: