Sha256: 146ec3b31c6e9fe411979388bef0dedd2865f57c2669a86746b9568245fa58dd

Contents?: true

Size: 1.33 KB

Versions: 8

Compression:

Stored size: 1.33 KB

Contents

require 'rubygems'
require 'test/unit'
$:.push(File.dirname(__FILE__) +'/../../test/models')
$:.push(File.dirname(__FILE__) +'/../../lib/not_relational')
require File.dirname(__FILE__) +'/../../lib/not_relational/domain_model.rb'
require File.dirname(__FILE__) +'/../../lib/not_relational/attribute_range.rb'

require File.dirname(__FILE__) +'/../../lib/not_relational/memory_repository.rb'
require File.dirname(__FILE__) +'/../../test/models/node.rb'
require File.dirname(__FILE__) +'/../../test/models/user.rb'
require File.dirname(__FILE__) +'/../../test/models/place.rb'
require File.dirname(__FILE__) +'/../../test/models/album.rb'
require File.dirname(__FILE__) +'/../../test/models/media_item.rb'
require File.dirname(__FILE__) +'/../../test/models/media_file.rb'
require File.dirname(__FILE__) +'/../../test/models/tag.rb'
require File.dirname(__FILE__) +'/../../test/models/rating.rb'
require File.dirname(__FILE__) +'/../../test/models/comment.rb'

ENV['NOT_RELATIONAL_ENV']='testing'

class CommentTest < Test::Unit::TestCase
  def CommentTest.set_up
    
    Mediaitem.find(:all).each do |node|
      node.destroy
    end
    User.find(:all).each do |node|
      node.destroy
    end
     Comment.find(:all).each do |node|
      node.destroy
    end
       
  end
   def test_recent
      
    end
    def test_recent_by_user
      
    end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cloudwow-not_relational-0.1.11 test/unit_tests/comment_test.rb
cloudwow-not_relational-0.1.2 test/unit_tests/comment_test.rb
cloudwow-not_relational-0.1.3 test/unit_tests/comment_test.rb
cloudwow-not_relational-0.1.5 test/unit_tests/comment_test.rb
cloudwow-not_relational-0.1.6 test/unit_tests/comment_test.rb
cloudwow-not_relational-0.1.7 test/unit_tests/comment_test.rb
cloudwow-not_relational-0.1.8 test/unit_tests/comment_test.rb
cloudwow-not_relational-0.1.9 test/unit_tests/comment_test.rb