Skip to content

Commit

Permalink
postgres: update test cases for uppercase tablename
Browse files Browse the repository at this point in the history
  • Loading branch information
alileza committed Jan 2, 2020
1 parent 4f011c8 commit cf56125
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/db/postgres/1_create_customers_table.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
create table customers (
create table "tblCustomers" (
customer_id serial primary key,
country char(2) NOT NULL,
name varchar(255) NOT NULL,
Expand Down
12 changes: 6 additions & 6 deletions examples/features/database/sql.feature
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
Feature: database features example

Scenario: Set and compare table using PostgreSQL database driver
Given "tomato-psql" table "customers" should look like
Given "tomato-psql" table "tblCustomers" should look like
| customer_id | name |
Given set "tomato-psql" table "customers" list of content
Given set "tomato-psql" table "tblCustomers" list of content
| name | country |
| cembri | us |
Then "tomato-psql" table "customers" should look like
Then "tomato-psql" table "tblCustomers" should look like
| customer_id | country | name |
| 1 | us | cembri |
Given set "tomato-psql" table "customers" list of content
Given set "tomato-psql" table "tblCustomers" list of content
| name | country |
| cembre | id |
Then "tomato-psql" table "customers" should look like
Then "tomato-psql" table "tblCustomers" should look like
| customer_id | country | name |
| 1 | us | cembri |
| 2 | id | cembre |

Scenario: Table should always empty on each starting scenario
Given "tomato-psql" table "customers" should look like
Given "tomato-psql" table "tblCustomers" should look like
| customer_id | name |
Then "tomato-mysql" table "customers" should look like
| customer_id | name |
Expand Down

0 comments on commit cf56125

Please sign in to comment.