forked from bofh/fetsite
Upgraded to Rails 4
This commit is contained in:
@@ -3,7 +3,7 @@ require 'spec_helper'
|
||||
describe Themengruppe do
|
||||
[:text, :title].each do |attr|
|
||||
it "should not be valid without #{attr}" do
|
||||
tg=FactoryGirl.build(:themengruppe, attr=>nil)
|
||||
tg=FactoryBot.build(:themengruppe, attr=>nil)
|
||||
tg.should_not be_valid
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user