Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make store_sync spec pending (to be refactored/removed)

  • Loading branch information...
commit 65067ffe17c5e1af76a22912a5878d827a070b58 1 parent 8427e9b
Oleg Andreev authored
View
1  lib/strokedb/document.rb
@@ -558,7 +558,6 @@ def ==(doc) #:nodoc:
case doc
when Document, DocumentReferenceValue
doc = doc.load if doc.kind_of? DocumentReferenceValue
-
# we make a quick UUID check here to skip two heavy to_raw calls
doc.uuid == uuid && doc.to_raw == to_raw
else
View
3  spec/lib/strokedb/sync/store_sync_spec.rb
@@ -52,10 +52,11 @@
end
it "should create non-matching report if applicable" do
+ pending "NOT WORKING (refactor store syncing)"
doc = Document.create!(@another_store, :hello => 'world')
doc.test = 'passed'
doc.save!
- adoc = Document.create!(:uuid => doc.uuid, :world => 'hello')
+ adoc = Document.create!(@store, :uuid => doc.uuid, :world => 'hello')
sync_rep = @store.sync!(doc.versions.all.reverse)
sync_rep.conflicts.should be_empty
sync_rep.non_matching_documents.should == [adoc]
Please sign in to comment.
Something went wrong with that request. Please try again.