Fix build failure related to addition of default scope on Contact
This commit is contained in:
parent
edf15aa5bd
commit
51df11aafc
1 changed files with 3 additions and 3 deletions
|
|
@ -255,9 +255,9 @@ describe DataConversion::ImportToMysql do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "imports data into the mongo_contacts table" do
|
it "imports data into the mongo_contacts table" do
|
||||||
lambda {
|
original_contact_count = Contact.unscoped.count
|
||||||
@migrator.process_raw_contacts
|
@migrator.process_raw_contacts
|
||||||
}.should change(Contact, :count).by(Mongo::Contact.count)
|
Contact.unscoped.count.should == original_contact_count + Mongo::Contact.count
|
||||||
end
|
end
|
||||||
|
|
||||||
it "imports all the columns" do
|
it "imports all the columns" do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue