Sha256: 31027e4250306def040ec9447bb2f6adde614ee0ecbdec9e2f880164cc5836bb
Contents?: true
Size: 905 Bytes
Versions: 1
Compression:
Stored size: 905 Bytes
Contents
require 'ronin/ui/command_line/commands/gen_overlay' require 'spec_helper' require 'generated_overlay_examples' require 'tmpdir' require 'fileutils' describe UI::CommandLine::Commands::GenOverlay do before(:all) do @name = 'ronin_generated_overlay' @path = File.join(Dir.tmpdir,@name) @title = 'Test Overlay' @source = 'ssh+svn://www.example.com/var/svn/test/' @source_view = 'http://www.example.com/test/' @website = 'http://www.example.com/blog/' @license = 'GPL-2' @description = 'This is a test overlay' UI::CommandLine::Commands::GenOverlay.start [ @path, '--title', @title, '--source', @source, '--source-view', @source_view, '--website', @website, '--license', @license, '--description', @description ] end it_should_behave_like "Generated Overlay" 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_overlay_spec.rb |