AutoCommit Mon Aug 31 18:03:21 CEST 2015
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user