Changeset 420 for ruby/trunk


Ignore:
Timestamp:
Jul 5, 2010, 6:12:53 PM (14 years ago)
Author:
KOBAYASHI, Shinji
Message:

implementing terminology related tables

Location:
ruby/trunk
Files:
8 added
2 edited

Legend:

Unmodified
Added
Removed
  • ruby/trunk/db/schema.rb

    r419 r420  
    1010# It's strongly recommended to check this file into your version control system.
    1111
    12 ActiveRecord::Schema.define(:version => 20100702073455) do
     12ActiveRecord::Schema.define(:version => 20100705082838) do
    1313
    1414  create_table "archetype_data", :force => true do |t|
     
    4141  end
    4242
     43  create_table "terminology_identifiers", :force => true do |t|
     44    t.string "vsab"
     45    t.string "authority"
     46    t.string "source_name"
     47  end
     48
     49  create_table "territories", :force => true do |t|
     50    t.string "text"
     51    t.string "three_letter"
     52    t.string "numeric_code"
     53    t.string "two_letter"
     54  end
     55
    4356end
  • ruby/trunk/spec/models/terminology_spec.rb

    r415 r420  
    66  end
    77
    8   it 'has_language_code should true if it has' do
    9     @terminology.should have_language_code 'en'
    10   end
     8  it 'has_language_code should true if it has'# do
     9#    @terminology.should have_language_code 'en'
     10#  end
    1111end
Note: See TracChangeset for help on using the changeset viewer.