Skip to content

Instantly share code, notes, and snippets.

@johnnonolan
Created March 27, 2011 10:52
Show Gist options
  • Select an option

  • Save johnnonolan/889121 to your computer and use it in GitHub Desktop.

Select an option

Save johnnonolan/889121 to your computer and use it in GitHub Desktop.
IN Clause now working :)
[Subject("Inspecting SQL")]
public class When_calling_select_from_users_with_predicate_collection
{
Because of = () => result = (q.SELECT * q.FROM.Users.WHERE.UserId.IN(1,2)).ToString();
It should_return_select_star_from_users = () => result.ShouldEqual("SELECT * FROM Users WHERE UserId IN (1,2)");
static string result;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment