Sha256: 152c6032772de1f3bac2ed2d4654bb9a8345825cd328da348fe25cb01539e6ba
Contents?: true
Size: 833 Bytes
Versions: 3
Compression:
Stored size: 833 Bytes
Contents
require 'spec_helper' require 'generator-spec' require_generator :cantango => :license RSpec::Generator.configure do |config| config.debug = true config.remove_temp_dir = true #false config.default_rails_root(__FILE__) config.lib = File.dirname(__FILE__) + '/../lib' config.logger = :stdout # :file end describe CanTango::Generators::LicenseGenerator do use_helpers :special, :file setup_generator :license do tests CanTango::Generators::LicenseGenerator end describe "License: Profile Administration" do before :each do @generator = with_generator do |g| g.run_generator "profile_administration --reads all --licenses blogging".args end end it "should have created license files" do @generator.should have_license_file :profile_administration end end end
Version data entries
3 entries across 3 versions & 1 rubygems