Sha256: 686e79abe2269c953975dd4ba4a7f88e05a8af42f6c1d69a15923171acbe7ca1

Contents?: true

Size: 423 Bytes

Versions: 2

Compression:

Stored size: 423 Bytes

Contents

require File.dirname(__FILE__) + '/test_helper.rb'

class AnnotationValueSeedTest < ActiveSupport::TestCase
  
  def test_annotation_value_seed_class_loaded
    assert_kind_of AnnotationValueSeed, AnnotationValueSeed.new
  end
  
  def test_find_by_key
    assert_equal 10, AnnotationValueSeed.find_by_attribute_name("tag").length
    assert_equal 5, AnnotationValueSeed.find_by_attribute_name("Author").length
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
my_annotations-0.6.0 test/annotation_value_seed_test.rb
my_annotations-0.5.1 test/annotation_value_seed_test.rb