image: docker:stable
services:
- docker:dind

stages:
- test

test:
  image: ruby:2.5.1
  tags:
  - enote-docker
  stage: test
  script:
  - echo "Running tests"
  - echo "$(pwd)"
  - bundle install
  - bundle exec rspec rspec


