Sha256: 6fc216e8efc9ecf9cd1e3c37ec5197e0d77bd6d235af46e00a2ac1feac1c37c7
Contents?: true
Size: 874 Bytes
Versions: 1
Compression:
Stored size: 874 Bytes
Contents
require 'ronin/generators/platform/overlay' require 'spec_helper' require 'generated_overlay_examples' require 'tmpdir' require 'fileutils' describe Generators::Platform::Overlay 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' Generators::Platform::Overlay.generate( @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/generators/platform/overlay_spec.rb |