features/commit.feature in prodder-1.7.6 vs features/commit.feature in prodder-1.7.7
- old
+ new
@@ -27,11 +27,11 @@
Then 1 commit by "prodder auto-commit" should be in the "blog" repository
When I create a new table "linkbacks" in the "blog" database
And I run `prodder dump -c prodder.yml`
And I run `prodder commit -c prodder.yml`
And 2 commits by "prodder auto-commit" should be in the "blog" repository
- And the latest commit should have changed "db/structure.sql" to contain "CREATE TABLE linkbacks"
+ And the latest commit should have changed "db/structure.sql" to contain "CREATE TABLE public.linkbacks"
And the latest commit should not have changed "db/seeds.sql"
And the latest commit should not have changed "db/quality_checks.sql"
Scenario: Changes only to the seed file
When I run `prodder commit -c prodder.yml`
@@ -50,11 +50,11 @@
When I create a new table "captchas" in the "blog" database
And I add a new author "Bob McBobbington" to the "blog" database
And I run `prodder dump -c prodder.yml`
And I run `prodder commit -c prodder.yml`
Then 2 commits by "prodder auto-commit" should be in the "blog" repository
- And the latest commit should have changed "db/structure.sql" to contain "CREATE TABLE captchas"
+ And the latest commit should have changed "db/structure.sql" to contain "CREATE TABLE public.captchas"
And the latest commit should have changed "db/seeds.sql" to contain "Bob McBobbington"
And the latest commit should not have changed "db/quality_checks.sql"
Scenario: Changes only to permissions
When I run `prodder commit -c prodder.yml`
@@ -62,8 +62,8 @@
When I create a new table "gotchas" in the "blog" database
When I grant all permissions on table "gotchas" in the "blog" database to "prodder"
And I run `prodder dump -c prodder.yml`
And I run `prodder commit -c prodder.yml`
And 2 commits by "prodder auto-commit" should be in the "blog" repository
- And the latest commit should have changed "db/permissions.sql" to contain "GRANT ALL ON TABLE gotchas TO prodder"
+ And the latest commit should have changed "db/permissions.sql" to contain "GRANT ALL ON TABLE public.gotchas TO prodder"
And the latest commit should not have changed "db/seeds.sql"
And the latest commit should not have changed "db/quality_checks.sql"