Sha256: 08a92d49df42cf2d4f33bf6059bc698644d2256ac1378ed1a2278140ccc874f9

Contents?: true

Size: 637 Bytes

Versions: 1

Compression:

Stored size: 637 Bytes

Contents

require 'spec_helper'
require 'legion/extensions/<%= config[:lex] %>/runners/<%= config[:name] %>'

RSpec.describe Legion::Extensions::<%= config[:lex].capitalize %>::Runners::<%= config[:name].capitalize %> do
  it { should be_a Module }
  Legion::Extensions::<%= config[:lex].capitalize %>::Runners::<%= config[:name].capitalize %>.extend Legion::Extensions::<%= config[:lex].capitalize %>::Runners::<%= config[:name].capitalize %>

  describe 'Functions should work with arguments' do
    let(:test_class) { Class.new { extend Legion::Extensions::<%= config[:lex].capitalize %>::Runners::<%= config[:name].capitalize %> } }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
legion-cli-0.2.0 lib/legion/cli/lex/templates/runner_spec.erb