diff options
Diffstat (limited to 'actionwebservice/test/fixtures')
-rw-r--r-- | actionwebservice/test/fixtures/db_definitions/mysql.sql | 7 | ||||
-rw-r--r-- | actionwebservice/test/fixtures/users.yml | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/actionwebservice/test/fixtures/db_definitions/mysql.sql b/actionwebservice/test/fixtures/db_definitions/mysql.sql new file mode 100644 index 0000000000..026f2a2c64 --- /dev/null +++ b/actionwebservice/test/fixtures/db_definitions/mysql.sql @@ -0,0 +1,7 @@ +CREATE TABLE `users` ( + `id` int(11) NOT NULL auto_increment, + `name` varchar(30) default NULL, + `active` tinyint(4) default NULL, + `created_on` date default NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; diff --git a/actionwebservice/test/fixtures/users.yml b/actionwebservice/test/fixtures/users.yml new file mode 100644 index 0000000000..a97d8c8486 --- /dev/null +++ b/actionwebservice/test/fixtures/users.yml @@ -0,0 +1,10 @@ +user1: + id: 1 + name: Kent + active: 1 + created_on: <%= Date.today %> +user2: + id: 2 + name: David + active: 1 + created_on: <%= Date.today %> |