Skip to content

Commit

Permalink
Pass in the filter.name instead of the filter object
Browse files Browse the repository at this point in the history
  • Loading branch information
cnwilkin committed Apr 24, 2013
1 parent 2095f35 commit 006e665
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -43,7 +43,7 @@ dynamic GetRunOptions()
var runOptionsType = MSpecTypes.Types.First(x => x.Name == "RunOptions");
var includeTags = new string[] { };
var excludeTags = new string[] { };
return Activator.CreateInstance(runOptionsType, includeTags, excludeTags, filters);
return Activator.CreateInstance(runOptionsType, includeTags, excludeTags, filters.Select(x => x.Name));
}

private static object GetMSpecRunListener(SessionResults sessionResults)
Expand Down

0 comments on commit 006e665

Please sign in to comment.