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

Version Path
cantango-permits-0.1.1 spec/generators/cantango/license_generator_spec.rb
cantango-0.9.4.7 spec/generators/cantango/license_generator_spec.rb
cantango-0.9.4.6 spec/generators/cantango/license_generator_spec.rb
cantango-0.9.4.5 spec/generators/cantango/license_generator_spec.rb
cantango-0.9.4.3 spec/generators/cantango/license_generator_spec.rb
cantango-0.9.4.2 spec/generators/cantango/license_generator_spec.rb
cantango-0.9.4.1 spec/generators/cantango/license_generator_spec.rb
cantango-0.9.4 spec/generators/cantango/license_generator_spec.rb
cantango-0.9.3.2 spec/generators/cantango/license_generator_spec.rb
cantango-0.8.9.5 spec/generators/cantango/license_generator_spec.rb
cantango-0.8.9.4 spec/generators/cantango/license_generator_spec.rb
cantango-0.8.9.3 spec/generators/cantango/license_generator_spec.rb
cantango-0.8.9.2 spec/generators/cantango/license_generator_spec.rb
cantango-0.8.9.1 spec/generators/cantango/license_generator_spec.rb
cantango-0.8.9 spec/generators/cantango/license_generator_spec.rb
cantango-0.8.8.1 spec/generators/cantango/license_generator_spec.rb
cantango-0.8.8 spec/generators/cantango/license_generator_spec.rb
cantango-0.8.7 spec/generators/cantango/license_generator_spec.rb
cantango-0.8.6.2 spec/generators/cantango/license_generator_spec.rb
cantango-0.8.6.1 spec/generators/cantango/license_generator_spec.rb