THEMA TESTS

This commit is contained in:
Andreas Stephanides
2014-03-30 20:09:02 +02:00
parent 341f6db268
commit 2c0f3ff0b8
3 changed files with 25 additions and 3 deletions

View File

@@ -1,5 +1,11 @@
require 'spec_helper'
describe Themengruppe do
pending "add some examples to (or delete) #{__FILE__}"
[:text, :title].each do |attr|
it "should not be valid without #{attr}" do
tg=FactoryGirl.build(:themengruppe, attr=>nil)
tg.should_not be_valid
end
end
end