Sha256: d39bf7f55414efe65cfdff666bc5e08e099dc9552858db303cfed84a94f5b0f5
Contents?: true
Size: 576 Bytes
Versions: 8
Compression:
Stored size: 576 Bytes
Contents
require 'spec_helper' require 'ronin/gen/gen' require 'ronin/gen/version' describe Gen do it "should have a version" do subject.const_defined?('VERSION').should == true end it "should load generators from 'ronin/gen/generators'" do generator = subject.generator('library') generator.should_not be_nil generator.name.should == 'Ronin::Gen::Generators::Library' end it "should raise an UnknownGenerator exception on missing generators" do lambda { subject.generator('lolbadfail') }.should raise_error(Gen::UnknownGenerator) end end
Version data entries
8 entries across 8 versions & 1 rubygems