AutoCommit Mon Sep 14 00:03:01 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-09-14 00:03:01 +02:00
parent 10949e9708
commit a47c6fea7a
3 changed files with 7 additions and 1 deletions

View File

@@ -18,7 +18,6 @@ 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