From 3f50d5c23719b6877124fcd9669bbf4811f4c2eb Mon Sep 17 00:00:00 2001 From: Nick Kallen Date: Mon, 21 Jan 2008 20:12:21 -0800 Subject: filling out some pending specs --- spec/active_relation/relations/table_spec.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'spec/active_relation/relations/table_spec.rb') diff --git a/spec/active_relation/relations/table_spec.rb b/spec/active_relation/relations/table_spec.rb index ec6e6e10bd..c8679707f5 100644 --- a/spec/active_relation/relations/table_spec.rb +++ b/spec/active_relation/relations/table_spec.rb @@ -17,7 +17,10 @@ module ActiveRelation describe '#attributes' do it 'manufactures attributes corresponding to columns in the table' do - pending + @relation.attributes.should == [ + Attribute.new(@relation, :name), + Attribute.new(@relation, :id) + ] end end -- cgit v1.2.3