Changeset 225 for ruby/branches/0.5
- Timestamp:
- Aug 27, 2009, 3:45:01 PM (15 years ago)
- Location:
- ruby/branches/0.5
- Files:
-
- 9 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/branches/0.5/db/schema.rb
r164 r225 10 10 # It's strongly recommended to check this file into your version control system. 11 11 12 ActiveRecord::Schema.define(:version => 20090725052538) do 12 ActiveRecord::Schema.define(:version => 20090824070846) do 13 14 create_table "encoding_aliases", :force => true do |t| 15 t.string "alias" 16 t.integer "mibenum" 17 end 18 19 create_table "encodings", :force => true do |t| 20 t.string "name" 21 t.integer "mibenum" 22 t.text "source" 23 end 13 24 14 25 create_table "terminologies", :force => true do |t| -
ruby/branches/0.5/spec/lib/open_ehr/rm/data_types/text/dv_text_spec.rb
r223 r225 8 8 language = CodePhrase.new(:terminology_id => terminology_id, 9 9 :code_string => 'ja') 10 encoding = CodePhrase.new(:terminology_id => terminology_id, 11 :code_string => 'utf-8') 10 12 @dv_text = DvText.new(:value => 'test', 11 13 :formatting => 'font = 12pt', 12 :language => language) 14 :language => language, 15 :encoding => encoding) 13 16 end 14 17 … … 49 52 end 50 53 51 it 'should be encoding' 54 it 's encoding should be utf-8' do 55 @dv_text.encoding.code_string.should == 'utf-8' 56 end 52 57 end
Note:
See TracChangeset
for help on using the changeset viewer.