aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/public_body_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/public_body_spec.rb')
-rw-r--r--spec/models/public_body_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/models/public_body_spec.rb b/spec/models/public_body_spec.rb
index bd403dcd1..8fb263f7d 100644
--- a/spec/models/public_body_spec.rb
+++ b/spec/models/public_body_spec.rb
@@ -13,17 +13,6 @@ describe PublicBody, " when saving" do
@public_body.name = "Testing Public Body"
@public_body.short_name = "TPB"
@public_body.request_email = "requestBOOlocalhost"
- @public_body.complaint_email = "complaint@localhost"
- @public_body.last_edit_editor = "*test*"
- @public_body.last_edit_comment = "This is a test"
- lambda { @public_body.save! }.should raise_error(ActiveRecord::RecordInvalid)
- end
-
- it "should not save with misformatted complaint email" do
- @public_body.name = "Testing Public Body"
- @public_body.short_name = "TPB"
- @public_body.request_email = "request@localhost"
- @public_body.complaint_email = "complaintBOOlocalhost"
@public_body.last_edit_editor = "*test*"
@public_body.last_edit_comment = "This is a test"
lambda { @public_body.save! }.should raise_error(ActiveRecord::RecordInvalid)
@@ -33,7 +22,6 @@ describe PublicBody, " when saving" do
@public_body.name = "Testing Public Body"
@public_body.short_name = "TPB"
@public_body.request_email = "request@localhost"
- @public_body.complaint_email = "complaint@localhost"
@public_body.last_edit_editor = "*test*"
@public_body.last_edit_comment = "This is a test"
@public_body.save!