Sha256: 14dc2b2561fe1f104d0bc442c7848c24aca5ffbe24d6b0fbbdf1c2049b760fce
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
require 'test_helper' describe 'lib roro stacks catalog unstoppable developer_styles okonomi languages python' do Given(:workbench) { 'empty' } Given(:cli) { Roro::CLI.new } Given(:adventures) { %w[] } Given(:overrides) { %w[] } Given(:rollon) { stub_adventure stub_overrides stub_run_actions cli.rollon } Given { rollon unless adventures.empty?} describe 'must generate a' do describe '.keep file so Git keeps the directory under source control' do # Then { assert_file '.keep' } end describe 'a file in the adjacent templates directory' do # Then { assert_file 'path_to_expected_file' } describe 'with expected content matching regex' do # Then { assert_file 'path_to_expected_file', /expected_content' } end describe 'with expected content the same as actual content string' do # Then { assert_file 'path_to_expected_file', 'expected_content' } end describe 'with many strings expected to have been interpolated' do # Given(:strings) { [1, :second, third] } # Then { strings.each { |c| assert_file 'path_to_expected_file', c } end 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/okonomi/languages/python/test/stage_one/stage_test.rb |