Sha256: 2f25f5542eedf26a20cf77ad0dd1ba9722a6e6018dcd64dbd14b82da6e52db5a
Contents?: true
Size: 950 Bytes
Versions: 1
Compression:
Stored size: 950 Bytes
Contents
require "test_helper" describe 'Roro::CLI#rollon' do Given(:workbench) { 'django' } Given(:cli) { Roro::CLI.new } Given(:overrides) { [''] } Given(:rollon) { stub_adventure stub_overrides stub_run_actions quiet { cli.rollon } } context 'when fatsufodo django' do Given(:adventures) { %w[1 1] } Given { rollon } context 'when default variables' do Then { assert_file 'Dockerfile', /python:3/ } And { assert_file 'docker-compose.yml', /=password/ } end context 'when overrides variables' do When(:overrides) { %w[3.2 y y newpass] } Then { assert_file 'Dockerfile', /python:3.2/ } And { assert_file 'docker-compose.yml', /=newpass/ } end context 'stage two' do When(:overrides) { %w[3.2 y y newpass] } Then { assert_file 'Dockerfile', /python:3.2/ } And { assert_file 'docker-compose.yml', /=newpass/ } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roro-0.3.30 | lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/django/test/stage_one/stage_one_test.rb |