Skip to content

Instantly share code, notes, and snippets.

@benfoster
Created April 19, 2012 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benfoster/2420047 to your computer and use it in GitHub Desktop.
Save benfoster/2420047 to your computer and use it in GitHub Desktop.
MSpec output
Filling a vacancy, When it is open with appointed candidates and no running campaigns
¯ Should be filled
¯ Should send me a notification (FAIL)
Machine.Specifications.SpecificationException: Should contain elements conforming to: e => (e.GetType() == Fabrik.Recruit.Domain.Events.VacancyFilledEvent)
entire list: {
Fabrik.Recruit.Domain.Events.VacancySubmittedEvent,
Fabrik.Recruit.Domain.Events.VacancySubmittedEvent,
Fabrik.Recruit.Domain.Events.VacancySubmittedEvent,
Fabrik.Recruit.Domain.Events.VacancySubmittedEvent,
Fabrik.Recruit.Domain.Specs.DomainEventsSpecs+Raising_an_event+TestDomainObjectStartedEvent
}
at Machine.Specifications.ShouldExtensionMethods.ShouldContain[T](IEnumerable`1 list, Expression`1 condition)
at Fabrik.Recruit.Domain.Specs.DomainEventsContext.ShouldHaveReceived[TEvent]() in D:\Data\ben\Projects\fabrik\Fabrik.Recruit\src\Tests\Fabrik.Recruit.Domain.Specs\DomainEventsContext.cs:line 22
at Fabrik.Recruit.Domain.Specs.VacancyStateTransitions.Filling_a_vacancy.When_it_is_open_with_appointed_candidates_and_no_running_campaigns.<.ctor>b__5d() in D:\Data\ben\Projects\fabrik\Fabrik.Recruit\src\Tests\Fabrik.Recruit.Domain.Specs\VacancyStateSpecs.cs:line 228
at Machine.Specifications.Model.Specification.Verify()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment