source: ruby/trunk/spec/models/archetype_datum_spec.rb@ 406

Last change on this file since 406 was 406, checked in by KOBAYASHI, Shinji, 14 years ago

serializer implementation

File size: 472 bytes
RevLine 
[404]1require 'spec_helper'
2
3describe ArchetypeDatum do
4 before(:each) do
5 @valid_attributes = {
6 :oid => "value for oid",
7 :archetype_id => "value for archetype_id",
8 :concept => "value for concept",
9 :path => "value for path",
10 :text_data => "value for text_data",
11 :integer_data => 1,
[406]12 :real_data => 0.23
[404]13 }
14 end
15
16 it "should create a new instance given valid attributes" do
17 ArchetypeDatum.create!(@valid_attributes)
18 end
19end
Note: See TracBrowser for help on using the repository browser.