[from now] 2014/11/26 18:39:44

diff --git a/Gemfile b/Gemfile
index 99dd140..f1c2ac8 100644
--- a/Gemfile
+++ b/Gemfile
@@ -63,7 +63,8 @@ end

 group :test do
   gem 'coveralls', require: false
-  gem "codeclimate-test-reporter", require: false
+  gem 'codeclimate-test-reporter', require: false
+  gem 'factory_girl_rails'
 end

 group :doc do
diff --git a/Gemfile.lock b/Gemfile.lock
index b1035da..9177c78 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -98,6 +98,11 @@ GEM
     docile (1.1.5)
     erubis (2.7.0)
     execjs (2.2.2)
+    factory_girl (4.5.0)
+      activesupport (>= 3.0.0)
+    factory_girl_rails (4.5.0)
+      factory_girl (~> 4.5.0)
+      railties (>= 3.0.0)
     ffi (1.9.6)
     formatador (0.2.5)
     fssm (0.2.10)
@@ -289,6 +294,7 @@ DEPENDENCIES
   compass-rails
   coveralls
   devise
+  factory_girl_rails
   groundworkcss
   guard-rspec
   hirb
diff --git a/doc/erd_20141126.png b/doc/erd_20141126.png
new file mode 100644
index 0000000..12afe00
Binary files /dev/null and b/doc/erd_20141126.png differ
[from now] 2014/11/26 18:44:07

diff --git a/Gemfile b/Gemfile
index f1c2ac8..bcb04e9 100644
--- a/Gemfile
+++ b/Gemfile
@@ -51,14 +51,15 @@ group :development, :test do
   gem 'rails-erd', github: 'paulwittmann/rails-erd', branch: 'mavericks'
   gem 'sqlite3'

+  gem 'guard-rspec'
+  gem 'simplecov'
+  gem 'spring'
   gem 'spring-commands-rspec'
   gem 'rspec-rails'
-  gem 'guard-rspec'
 end

 group :development do
   gem 'rack-mini-profiler'
-  gem 'spring'
 end

 group :test do
diff --git a/Gemfile.lock b/Gemfile.lock
index 9177c78..7e56d06 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -316,6 +316,7 @@ DEPENDENCIES
   rspec-rails
   sass-rails
   sdoc
+  simplecov
   spring
   spring-commands-rspec
   sqlite3
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 275ba49..3eb2dfd 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,3 +1,6 @@
+require 'simplecov'
+SimpleCov.start 'rails'
+
 # This file was generated by the `rails generate rspec:install` command. Conventionally, all
 # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
 # The generated `.rspec` file contains `--require spec_helper` which will cause this
[from now] 2014/11/26 19:02:49

diff --git a/config/application.rb b/config/application.rb
index 7178fdf..b4a9bb0 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -20,5 +20,10 @@ module Sincerely

     # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
     # config.i18n.default_locale = :ja
+
+    config.generators do |g|
+      g.test_framework :rspec, fixture: true
+      g.fixture_replacement :factory_girl, dir: "spec/factories"
+    end
   end
 end
diff --git a/spec/factories/benefactors.rb b/spec/factories/benefactors.rb
new file mode 100644
index 0000000..1820bed
--- /dev/null
+++ b/spec/factories/benefactors.rb
@@ -0,0 +1,6 @@
+FactoryGirl.define do
+  factory :benefactor do
+
+  end
+
+end
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 176e657..849a2e2 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -32,6 +32,12 @@ CodeClimate::TestReporter.start
 ActiveRecord::Migration.maintain_test_schema!

 RSpec.configure do |config|
+  # Factory Girl Rails
+  config.include FactoryGirl::Syntax::Methods
+  config.before do
+    FactoryGirl.reload
+  end
+
   # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
   config.fixture_path = "#{::Rails.root}/spec/fixtures"

@@ -40,19 +46,6 @@ RSpec.configure do |config|
   # instead of true.
   config.use_transactional_fixtures = true

-  # RSpec Rails can automatically mix in different behaviours to your tests
-  # based on their file location, for example enabling you to call `get` and
-  # `post` in specs under `spec/controllers`.
-  #
-  # You can disable this behaviour by removing the line below, and instead
-  # explicitly tag your specs with their type, e.g.:
-  #
-  #     RSpec.describe UsersController, :type => :controller do
-  #       # ...
-  #     end
-  #
-  # The different available types are documented in the features, such as in
-  # https://relishapp.com/rspec/rspec-rails/docs
   config.infer_spec_type_from_file_location!

   config.include Devise::TestHelpers, :type => :controller