Sha256: 8732c9799cfbf47748c6e4dcb7864888c20924f84e0c9f8fd7b3234f7458b62a
Contents?: true
Size: 831 Bytes
Versions: 20
Compression:
Stored size: 831 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
20 entries across 20 versions & 2 rubygems