Skip to content

Commit

Permalink
fix integration spec
Browse files Browse the repository at this point in the history
  • Loading branch information
tongueroo committed Jan 13, 2019
1 parent cc4e7eb commit f2ba380
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/integration/remote.sh
Expand Up @@ -24,6 +24,11 @@ cd demo
JETS_ENV_REMOTE=1 jets runner 'Post.create(id: 1) unless Post.find_by(id: 1)'
JETS_ENV_REMOTE=1 jets runner 'Post.create(id: 2) unless Post.find_by(id: 2)'

cd rack
# Create a data record that the postman tests assumes to exist. The postman collection deletes this record.
rails runner 'Book.create(id: 1) unless Book.find_by(id: 1)'
rails runner 'Book.create(id: 2) unless Book.find_by(id: 2)'

# Integration postman script lives in jets
cd jets

Expand Down

0 comments on commit f2ba380

Please sign in to comment.