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/censor_rule_spec.rb | |
parent | a23be37bb6b4c4991766e1ed0f9cd0922c8db3a7 (diff) |
Re-annotate models with database fields
Diffstat (limited to 'spec/models/censor_rule_spec.rb')
-rw-r--r-- | spec/models/censor_rule_spec.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/models/censor_rule_spec.rb b/spec/models/censor_rule_spec.rb index 3782cc630..5b41cc0d4 100644 --- a/spec/models/censor_rule_spec.rb +++ b/spec/models/censor_rule_spec.rb @@ -1,3 +1,20 @@ +# == Schema Information +# +# Table name: censor_rules +# +# id :integer not null, primary key +# info_request_id :integer +# user_id :integer +# public_body_id :integer +# text :text not null +# replacement :text 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 +# regexp :boolean +# + require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe CensorRule, "substituting things" do |