Sha256: b052718c6c57a4100c87024e7914df0af577198ea13d3fc316726e39f263eb90
Contents?: true
Size: 1.57 KB
Versions: 1
Compression:
Stored size: 1.57 KB
Contents
require 'test_helper' describe 'adventure::rails-v7_0::0 sqlite & ruby-v3_0' do Given { skip } Given(:workbench) {} Given { @rollon_loud = false } Given { @rollon_dummies = false } Given { rollon(__dir__) } describe 'must have a' do describe 'config/database.yml' do describe 'with sqlite' do Given { skip } Then { assert_file 'config/database.yml', %r{database: db/test\.sqlite3} } end end describe 'Gemfile with the correct' do describe 'rails version' do Then { assert_file 'Gemfile', /gem "rails", "~> 7.0.2/ } end describe 'db' do Then { assert_file 'Gemfile', /gem ["']sqlite3["'], ["']~> 1.4/ } end end describe 'Dockerfile' do Given(:file) { 'Dockerfile' } describe 'ruby version' do Then { assert_file file, /FROM ruby:3.0/ } end describe 'alpine db packages' do describe 'sqlite' do Then { assert_file 'Dockerfile', /postgresql-dev/ } end end end describe 'docker-compose.yml' do Given(:file) { 'docker-compose.yml' } describe 'database service' do describe 'database service' do Then { assert_file file, /\n\s\sdb:/ } describe 'image' do Then { assert_file file, %r{\n\s\s\s\simage: nouchka/sqlite3:latest} } end describe 'env_file' do Then { assert_file file, /\n\s\s\s\senv_file:/ } And { assert_file file, %r{\n\s\s\s\s\s\s- \./mise/env/base.env} } end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roro-0.3.33 | lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/_test.rb |