Skip to content
This repository
tree: 653623682d
Fetching contributors…

Cannot retrieve contributors at this time

file 18 lines (17 sloc) 0.45 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Feature: Table
In order to map my business objects to the database
As a developer
I need to be able to describe a schema

Scenario: Successfully created a table
Given a platform is "MysqlPlatform"
And I have XML schema:
"""
<database name="behat_table">
<table name="a_table"></table>
</database>
"""
When I generate SQL
Then it should contain:
"""
CREATE TABLE `a_table`
"""
Something went wrong with that request. Please try again.