diff --git a/test/import_test.rb b/test/import_test.rb index efc1ee9..d9440bf 100644 --- a/test/import_test.rb +++ b/test/import_test.rb @@ -134,8 +134,8 @@ describe "#import" do let(:new_topics) { Build(3, :topics) } it "reloads data for existing in-memory instances" do - Topic.import(new_topics, :synchronize => new_topics, :synchronize_key => [:title] ) - assert new_topics.all?(&:new_record?), "Records should have been reloaded" + Topic.import(new_topics, :synchronize => new_topics, :synchronize_keys => [:title] ) + assert !new_topics.any?(&:new_record?), "Records should have been reloaded" end end end