|
|
|
@ -8,6 +8,6 @@ describe User do
|
|
|
|
|
create_table :user_id => user.id, :name => 'My first table', :privacy => Table::PUBLIC
|
|
|
|
|
|
|
|
|
|
user.tables_count.should == 1
|
|
|
|
|
user.tables.should == [Table.first(:user_id => user.id)]
|
|
|
|
|
user.tables.all.should == [Table.first(:user_id => user.id)]
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|