Sha256: b6199267fcf913b59561e8419d3c3bb3dcc2fbdcb5b77dfb626803b68452c8fc

Contents?: true

Size: 643 Bytes

Versions: 1

Compression:

Stored size: 643 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

describe '<%= @env[:adventure_title] %>' do
  Given(:workbench) {}
  
  Given do 
    skip
    @rollon_loud    = false 
    @rollon_dummies = false 
    rollon(__dir__) 
  end
  
  describe 'must have directory' do
    Given(:directory) { 'expected/directory' }
    Then { assert_directory directory }
    
    describe 'with file' do 
      Given(:file) { "#{directory}/expected/file.name" }

      Then { assert_file file }

      describe 'with content' do 
        Given(:content) { /expected content string/ }

        Then { assert_file file, content }
      end 
    end
  end 
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roro-0.3.33 lib/roro/templates/adventure_test/_test.rb.tt