Created
April 2, 2011 22:16
-
-
Save johnnonolan/899954 to your computer and use it in GitHub Desktop.
SQL.Data is coming
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
| [Subject("SELECT Executing")] | |
| public class When_executing_select_from_users | |
| { | |
| Establish that = () => { | |
| q.ConnectionString = connectionString; | |
| }; | |
| Because of = () => result = (q.SELECT * q.FROM.Users).GO(); //Users is dynamic | |
| It should_return_select_star_from_users = () => result.Count.ShouldEqual(0); | |
| static IList<DataRecord> result; | |
| static string connectionString = @"Data Source = |DataDirectory|\TestDb.sdf"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment