Sha256: 07afcda99c9f240cccf6bf48decd0c8c31b7deb85078ec9dc083c664984de42e

Contents?: true

Size: 472 Bytes

Versions: 1

Compression:

Stored size: 472 Bytes

Contents

require 'ronin/ui/command_line/commands/gen_extension'

require 'spec_helper'
require 'generated_extension_examples'

require 'tmpdir'
require 'fileutils'

describe UI::CommandLine::Commands::GenExtension do
  before(:all) do
    @name = 'ronin_generated_extension'
    @path = File.join(Dir.tmpdir,@name)

    UI::CommandLine::Commands::GenExtension.start [@path]
  end

  it_should_behave_like "Generated Extension"

  after(:all) do
    FileUtils.rm_r(@path)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ronin-gen-0.2.0 spec/ui/command_line/commands/gen_extension_spec.rb