Sha256: 5bc67a29e9dab043863b0ee295ded223ef1bba21ae96d1f9e17684a8f29ad4fb

Contents?: true

Size: 633 Bytes

Versions: 14

Compression:

Stored size: 633 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require 'rspec/rails'
# require 'rspec/autorun'
require 'factory_girl_rails'

Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
Dir["#{File.dirname(__FILE__)}/dummy/spec/factories/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  config.mock_with :rspec
  config.use_transactional_fixtures = true
  config.infer_base_class_for_anonymous_controllers = false
  config.order = "random"
  config.include FactoryGirl::Syntax::Methods  
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
happy_seed-0.0.21 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb
happy_seed-0.0.19 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb
happy_seed-0.0.18 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb
happy_seed-0.0.17 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb
happy_seed-0.0.16 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb
happy_seed-0.0.15 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb
happy_seed-0.0.14 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb
happy_seed-0.0.13 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb
happy_seed-0.0.12 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb
happy_seed-0.0.11 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb
happy_seed-0.0.10 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb
happy_seed-0.0.9 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb
happy_seed-0.0.8 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb
happy_seed-0.0.7 lib/generators/happy_seed/plugin/templates/spec/spec_helper.rb