sped up some tests

This commit is contained in:
Hauke Klement
2015-01-30 10:50:44 +01:00
parent 76ceae54b0
commit b08bc8aef2
14 changed files with 65 additions and 46 deletions

View File

@@ -32,6 +32,14 @@ FactoryGirl.define do
end
end
factory :dummy, class: Exercise do
created_by_teacher
description 'Dummy'
association :execution_environment, factory: :ruby
instructions
title 'Dummy'
end
factory :even_odd, class: Exercise do
created_by_teacher
description 'Implement two methods even and odd which return whether a given number is even or odd, respectively.'