diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-07-31 15:34:12 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-09-16 12:12:29 +0100 |
commit | 136cf239bfa0230d33d741aa4b31c0291f20fe10 (patch) | |
tree | 7c92e8ba5b3e8e817354d3c5fdd3fc891157e64d /spec/models/public_body_spec.rb | |
parent | a23be37bb6b4c4991766e1ed0f9cd0922c8db3a7 (diff) |
Re-annotate models with database fields
Diffstat (limited to 'spec/models/public_body_spec.rb')
-rw-r--r-- | spec/models/public_body_spec.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/spec/models/public_body_spec.rb b/spec/models/public_body_spec.rb index 34a91a2c9..d1fdd2c47 100644 --- a/spec/models/public_body_spec.rb +++ b/spec/models/public_body_spec.rb @@ -1,3 +1,26 @@ +# == Schema Information +# +# Table name: public_bodies +# +# id :integer not null, primary key +# name :text not null +# short_name :text not null +# request_email :text not null +# version :integer not null +# last_edit_editor :string(255) not null +# last_edit_comment :text not null +# created_at :datetime not null +# updated_at :datetime not null +# url_name :text not null +# home_page :text default(""), not null +# notes :text default(""), not null +# first_letter :string(255) not null +# publication_scheme :text default(""), not null +# api_key :string(255) not null +# info_requests_count :integer default(0), not null +# disclosure_log :text default(""), not null +# + require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe PublicBody, " using tags" do |