Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adds scenario for manually trying to use INCLUDE_SCHEMA with FIXTURES

  • Loading branch information...
commit 66551f4dbc2a36af34db04b568b0480faed7c0f7 1 parent d43f5e8
@ianwhite authored
Showing with 6 additions and 8 deletions.
  1. +6 −8 features/load/load_fixtures.feature
View
14 features/load/load_fixtures.feature
@@ -36,7 +36,11 @@ Feature: Load fixtures
| 1 | Fred | Bloggs |
| 2 | Ethel | Smith |
| 3 | Jane | Heidie |
-
+
+
+ Scenario: trying to load fixtures with :include_schema should raise an error
+ When I run "rake db:data:load INCLUDE_SCHEMA=true FIXTURES=notes/0000/0001.yml FORCE=true"
+ Then the exit status should be 1
Scenario: loading specific fixtures into an existing table with records only replaces the ones I specify
@@ -117,13 +121,7 @@ Feature: Load fixtures
| id | name | surname |
| 1 | Fred | Bloggs |
| 2 | Ethel | Smith |
- | 3 | Jane | Heidie |
-
-
-
- Scenario: trying to load fixtures with :include_schema should raise an error
- When I run
-
+ | 3 | Jane | Heidie |
Please sign in to comment.
Something went wrong with that request. Please try again.