Sha256: 2014a3fb1b07b02bf6ce6b0da2346200c271de50971646f6b68d1b72d4604f3c

Contents?: true

Size: 496 Bytes

Versions: 9

Compression:

Stored size: 496 Bytes

Contents

require 'rspec/core'    
require 'generator-spec'
require 'devise-spec'
require 'roles-spec'
require 'cream'

RSpec::Generator.configure do |config|
  config.debug = false
  config.remove_temp_dir = false # true
  config.default_rails_root(__FILE__) 
  config.lib = File.dirname(__FILE__) + '/../lib'
  config.logger = :stdout    
end

RSpec.configure do |config|
  config.mock_with :mocha 
   
  config.before do
    create_rails_app
  end
  
  config.after do
    remove_rails_app
  end  
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cream-0.6.4 spec/generator_spec_helper.rb
cream-0.6.3 spec/generator_spec_helper.rb
cream-0.6.1 spec/generator_spec_helper.rb
cream-0.6.0 spec/generator_spec_helper.rb
cream-0.5.10 spec/generator_spec_helper.rb
cream-0.5.9 spec/generator_spec_helper.rb
cream-0.5.8 spec/generator_spec_helper.rb
cream-0.5.7 spec/generator_spec_helper.rb
cream-0.5.6 spec/generator_spec_helper.rb