Sha256: 5c7544839495fdd2c8288c0bdec9f19ec5fded634f39c8eb1844042b0740ce65

Contents?: true

Size: 436 Bytes

Versions: 6

Compression:

Stored size: 436 Bytes

Contents

require 'test_helper'

class TypeTwoTest < ActiveSupport::TestCase
  # test "the truth" do
  #   assert true
  # end

  test "test a typetwos fields should be records fields" do
    assert_equal "from_format", TypeTwo.format_field
  end

  test "test typetwos formatting should populate records fields" do
    typetwo = TypeTwo.new(:from_format => "csf", :data => "itemType: book")
    assert_equal "csf", typetwo.from_format
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
citero_engine-3.0.0.beta test/dummy/test/unit/type_two_test.rb
citero_engine-3.0.0.alpha3 test/dummy/test/unit/type_two_test.rb
citero_engine-3.0.0.alpha2 test/dummy/test/unit/type_two_test.rb
citero_engine-3.0.0.alpha test/dummy/test/unit/type_two_test.rb
ex_cite-2.1.0 test/dummy/test/unit/type_two_test.rb
ex_cite-2.0.0 test/dummy/test/unit/type_two_test.rb