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
|
||||
|
||||
it "imports data into the mongo_contacts table" do
|
||||
lambda {
|
||||
@migrator.process_raw_contacts
|
||||
}.should change(Contact, :count).by(Mongo::Contact.count)
|
||||
original_contact_count = Contact.unscoped.count
|
||||
@migrator.process_raw_contacts
|
||||
Contact.unscoped.count.should == original_contact_count + Mongo::Contact.count
|
||||
end
|
||||
|
||||
it "imports all the columns" do
|
||||
|
|
|
|||
Loading…
Reference in a new issue