spec/model_dsl_spec.rb in gooddata-0.6.0.pre9 vs spec/model_dsl_spec.rb in gooddata-0.6.0.pre10

- old
+ new

@@ -14,10 +14,10 @@ builder = GoodData::Model::SchemaBuilder.new("payments") builder.add_attribute("id", :title => "My Id") builder.add_fact("amount", :title => "Amount") schema = builder.to_schema - schema.attributes.keys.count == 1 - schema.attributes["attr.payments.id"].title.should == "My Id" + schema.attributes.count == 1 + schema.attributes.first.title.should == "My Id" end end \ No newline at end of file