forked from bofh/fetsite
AutoCommit Sam Sep 12 13:03:02 CEST 2015
This commit is contained in:
@@ -18,7 +18,7 @@ describe Beispiel, :type=>:model do
|
|||||||
let(:beispiel){FactoryGirl.build(:beispiel, lva: lva)}
|
let(:beispiel){FactoryGirl.build(:beispiel, lva: lva)}
|
||||||
|
|
||||||
it "should be created" do
|
it "should be created" do
|
||||||
|
|
||||||
expect{beispiel.save!; Sunspot.commit}.to change{Beispiel.count}.by(1)
|
expect{beispiel.save!; Sunspot.commit}.to change{Beispiel.count}.by(1)
|
||||||
end
|
end
|
||||||
it "is not valid without lva" do
|
it "is not valid without lva" do
|
||||||
|
|||||||
Reference in New Issue
Block a user