Sha256: 046f73282fa992a360fd1364cbec11a84118ae7bf85a4f1e336cce1986937086
Contents?: true
Size: 1.34 KB
Versions: 1
Compression:
Stored size: 1.34 KB
Contents
require "test_helper" describe 'okonomi roll_your_own' do Given { skip } Given(:cli) { Roro::CLI.new } Given(:overrides) { %w[] } Given(:workbench) { 'empty'} Given(:rollon) { stub_adventure stub_overrides stub_run_actions cli.rollon } Given(:adventures) { %w[2 1] } Given { rollon # quiet { rollon } } describe 'testing cli ask and say' do Given(:adventures) { %w[] } Then { } end describe 'must generate' do describe 'templates with stage one' do Then { assert_file 'mise/stacks/my_story/templates/stage_one/.keep' } end describe 'test' do describe 'with stage one' do describe 'with stage dummy' do Then { assert_file 'mise/stacks/my_story/test/stage_one/stage_dummy/.keep' } end end end end describe 'story file must have correct content' do When(:contents) { [/env/] } Then { contents.each { |c| assert_file 'mise/stacks/my_story/my_story.yml', c } } end describe 'must generate mise' do Then { assert_file 'mise' } end describe 'must generate containers' do Then { assert_file 'mise/containers' } end describe 'must generate environments' do Then { assert_file 'mise/env/base.env' } end describe 'must generate keys' do Then { assert_file 'mise/keys/base.key' } 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/sashimi/stories/roll_your_own/test/stage_one/stage_one_test.rb |