Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

factory関連の設定を追加。

  • Loading branch information...
commit 8ff2e4f15ecb21028e54f8f60acdb1f03f60b430 1 parent 630d322
@sakomoko authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 config/application.rb
View
4 config/application.rb
@@ -5,7 +5,7 @@
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
- require "sprockets/railtie"
+require "sprockets/railtie"
# require "rails/test_unit/railtie"
# If you have a Gemfile, require the default gems, the ones in the
@@ -47,6 +47,8 @@ class Application < Rails::Application
config.assets.enabled = true
config.generators do |g|
+ g.test_framework :rspec, :fixture => true, :fixture_replacement => :factory_girl
+ g.fixture_replacement :factory_girl, :dir => 'spec/factories'
g.view_specs false
g.helper_specs false
end
Please sign in to comment.
Something went wrong with that request. Please try again.