Sha256: 7982f612220d7272ef02299c497ece167757c6ad4dcb6e25dfe0a8b6f0b59361
Contents?: true
Size: 667 Bytes
Versions: 3
Compression:
Stored size: 667 Bytes
Contents
require 'ronin/platform/extension' require 'spec_helper' shared_examples_for "Generated Extension" do before(:all) do @lib_dir = File.join(@path,Ronin::Platform::Extension::LIB_DIR) end it "should create the extension directory" do File.directory?(@path).should == true end it "should create a lib/ directory" do File.directory?(@lib_dir).should == true end it "should create an empty load file in the lib/ directory" do File.file?(File.join(@lib_dir,@name + '.rb')).should == true end it "should create an empty directory within the lib/ directory" do File.directory?(File.join(@lib_dir,@name)).should == true end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ronin-gen-0.2.0 | spec/generated_extension_examples.rb |
ronin-gen-0.1.1 | spec/generated_extension_examples.rb |
ronin-gen-0.1.0 | spec/generated_extension_examples.rb |