Adds model and controller tests for Question.

This commit is contained in:
Stella Rouzi 2015-09-16 12:20:52 +03:00
parent e25425bd77
commit a04df00bdc
6 changed files with 311 additions and 24 deletions

View file

@ -4,11 +4,11 @@ FactoryGirl.define do
factory :answer do
title 'I do'
factory :answer1 do
factory :first_answer do
title 'First Answer'
end
factory :answer2 do
factory :second_answer do
title 'Second Answer'
end