Created
June 28, 2011 21:10
-
-
Save hotgazpacho/1052213 to your computer and use it in GitHub Desktop.
Exception running MSpec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Error: Fatal error: System.InvalidOperationException: Sequence contains more than one element | |
| at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source) | |
| at Machine.Specifications.Factories.BehaviorFactory.EnsureAllBehaviorFieldsAreInContext(Type behaviorType, Object behaviorInstance, Context context) in d:\BuildAgent-01\work\9f23de4d4da9eb12\Source\Machine.Specifications\Factories\BehaviorFactory.cs:line 66 | |
| at Machine.Specifications.Factories.BehaviorFactory.CreateBehaviorFrom(FieldInfo behaviorField, Context context) in d:\BuildAgent-01\work\9f23de4d4da9eb12\Source\Machine.Specifications\Factories\BehaviorFactory.cs:line 46 | |
| at Machine.Specifications.Factories.ContextFactory.CreateSpecificationsFromBehaviors(IEnumerable`1 itShouldBehaveLikeFieldInfos, Context context) in d:\BuildAgent-01\work\9f23de4d4da9eb12\Source\Machine.Specifications\Factories\ContextFactory.cs:line 146 | |
| at Machine.Specifications.Factories.ContextFactory.CreateContextFrom(Object instance, IEnumerable`1 acceptedSpecificationFields) in d:\BuildAgent-01\work\9f23de4d4da9eb12\Source\Machine.Specifications\Factories\ContextFactory.cs:line 92 | |
| at Machine.Specifications.Factories.ContextFactory.CreateContextFrom(Object instance) in d:\BuildAgent-01\work\9f23de4d4da9eb12\Source\Machine.Specifications\Factories\ContextFactory.cs:line 38 | |
| at Machine.Specifications.Explorers.AssemblyExplorer.CreateContextFrom(Type type) in d:\BuildAgent-01\work\9f23de4d4da9eb12\Source\Machine.Specifications\Explorers\AssemblyExplorer.cs:line 59 | |
| at Machine.Specifications.Explorers.AssemblyExplorer.FindContexts(Type type) in d:\BuildAgent-01\work\9f23de4d4da9eb12\Source\Machine.Specifications\Explorers\AssemblyExplorer.cs:line 89 | |
| at Machine.Specifications.Runner.Impl.DefaultRunner.RunClass(MemberInfo member, Assembly assembly) in d:\BuildAgent-01\work\9f23de4d4da9eb12\Source\Machine.Specifications\Runner\Impl\DefaultRunner.cs:line 73 | |
| at Machine.Specifications.Runner.Impl.DefaultRunner.RunMember(Assembly assembly, MemberInfo member) in d:\BuildAgent-01\work\9f23de4d4da9eb12\Source\Machine.Specifications\Runner\Impl\DefaultRunner.cs:line 55 | |
| at Machine.Specifications.Runner.Impl.AppDomainRunner.MemberRunner..ctor(ISpecificationRunListener listener, Assembly assembly, RunOptions options, MemberInfo memberInfo) in d:\BuildAgent-01\work\9f23de4d4da9eb12\Source\Machine.Specifications\Runner\Impl\AppDomainRunner.cs:line 184 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment