AutoCommit Sam Sep 12 13:03:02 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-09-12 13:03:02 +02:00
parent 3d87ce6fd2
commit ff70c31c40

View File

@@ -18,7 +18,7 @@ describe Beispiel, :type=>:model do
let(:beispiel){FactoryGirl.build(:beispiel, lva: lva)}
it "should be created" do
expect{beispiel.save!; Sunspot.commit}.to change{Beispiel.count}.by(1)
end
it "is not valid without lva" do