Add test for QuestionsController

new method was dead code.
@questions_conference was dead variable.
assignment of question's foreign key was unnecessary.
fixes in type of flash messages.
This commit is contained in:
Aditya Prakash 2016-02-25 12:36:35 +05:30
parent 68cc4a73d9
commit ccc28cdc90
4 changed files with 205 additions and 12 deletions

View file

@ -4,5 +4,6 @@ FactoryGirl.define do
factory :qanswer do
question
answer
registrations { [create(:registration)] }
end
end