test/unit/test_roachclip.rb in roachclip-0.2.0 vs test/unit/test_roachclip.rb in roachclip-0.2.1

- old
+ new

@@ -93,17 +93,9 @@ @doc.image = File.open(test_file_path) assert @doc.save end - should "have image_path default to fs collection" do - t = Time.now - Time.stubs(:now).returns t - - i = @doc.image.id.to_s - assert_equal "/gridfs/fs/#{i}-#{t.to_i}", @doc.image_path - end - should "still save documents w/ images" do d = Doc.find @doc.id assert_equal fname, d.image_name assert_equal File.size(test_file_path), d.image_size