aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/public_body_spec.rb
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2012-02-16 20:38:48 +1100
committerHenare Degan <henare.degan@gmail.com>2012-02-16 20:38:48 +1100
commit8a09eb837849468f291990f7d92b382a6e08ebae (patch)
tree6d3657dc25b59134a3b3b4f1e50196f77088ad49 /spec/models/public_body_spec.rb
parent8489d3849dc65a2f5e87c5cca9ecca6526517a54 (diff)
Don't add extra www characters to web addresses that have been explicitly defined
Diffstat (limited to 'spec/models/public_body_spec.rb')
-rw-r--r--spec/models/public_body_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/public_body_spec.rb b/spec/models/public_body_spec.rb
index 142735cb0..9b8c78010 100644
--- a/spec/models/public_body_spec.rb
+++ b/spec/models/public_body_spec.rb
@@ -425,7 +425,7 @@ describe PublicBody do
it "should ensure home page URLs start with http://" do
public_body = PublicBody.new
public_body.home_page = "example.com"
- public_body.calculated_home_page.should == "http://www.example.com"
+ public_body.calculated_home_page.should == "http://example.com"
end
end
end