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, 6 insertions, 6 deletions
diff --git a/spec/models/public_body_spec.rb b/spec/models/public_body_spec.rb
index c500e8e61..91340a12c 100644
--- a/spec/models/public_body_spec.rb
+++ b/spec/models/public_body_spec.rb
@@ -1008,21 +1008,21 @@ describe PublicBody do
it 'should return false if request_email is nil' do
@body.request_email = nil
- @body.is_requestable?.should == false
+ @body.is_followupable?.should == false
end
it 'should return false if the request email is "blank"' do
- @body.request_email = "blank"
- @body.is_requestable?.should == false
+ @body.request_email = 'blank'
+ @body.is_followupable?.should == false
end
it 'should return false if the request email is an empty string' do
- @body.request_email = ""
- @body.is_requestable?.should == false
+ @body.request_email = ''
+ @body.is_followupable?.should == false
end
it 'should return true if the request email is an email address' do
- @body.is_requestable?.should == true
+ @body.is_followupable?.should == true
end
end