Sha256: 570d8d765c438d7248c6d4154fc3876e5594408c7111ab91229a12b3ef7addb9

Contents?: true

Size: 282 Bytes

Versions: 5

Compression:

Stored size: 282 Bytes

Contents

require 'spec_helper'

describe <%= app_name.camelize %>::Application do
  describe '#exec' do
    it 'executes application' do
      stdout = capture_stdout do
        <%= app_name.camelize %>::Application.exec
      end
      expect(stdout).to match /Commands:/
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rgentpl-1.0.9 src/spec/lib/%app_name%/boot/application_spec.rb.tt
rgentpl-1.0.8 src/spec/lib/%app_name%/boot/application_spec.rb.tt
rgentpl-1.0.7 src/spec/lib/%app_name%/boot/application_spec.rb.tt
rgentpl-1.0.6 src/spec/lib/%app_name%/boot/application_spec.rb.tt
rgentpl-1.0.5 src/spec/lib/%app_name%/boot/application_spec.rb.tt