Sha256: dac40fa8a3ece65cdb25d8351f15a76e50d754b3cff1e0e20f568dd41e3628a8

Contents?: true

Size: 469 Bytes

Versions: 2

Compression:

Stored size: 469 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.run(@path)
  end

  it_should_behave_like "Generated Extension"

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

Version data entries

2 entries across 2 versions & 1 rubygems

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