AutoCommit Mon Aug 31 18:03:21 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-31 18:03:21 +02:00
parent 589597509a
commit 8c1e430bb2
3 changed files with 89 additions and 63 deletions

View File

@@ -8,6 +8,11 @@ describe Fetprofile do
fp.should_not be_valid
end
end
it "should be created" do
fp=Fetprofile.new(FactoryGirl.attributes_for(:fetprofile))
expect(fp.save).to be true
end
it "should be valid" do
fp = FactoryGirl.build(:fetprofile)
fp.should be_valid