From ad5d9603e6893730bc6b129784f48df1ae55789c Mon Sep 17 00:00:00 2001 From: Francis Irving Date: Mon, 26 Jul 2010 09:01:24 +0100 Subject: Another test. --- spec/models/public_body_spec.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'spec/models') diff --git a/spec/models/public_body_spec.rb b/spec/models/public_body_spec.rb index d48079ba1..0a0b95041 100644 --- a/spec/models/public_body_spec.rb +++ b/spec/models/public_body_spec.rb @@ -23,6 +23,11 @@ describe PublicBody, " using tags" do @public_body.tag_string.should == 'chesire lancashire' end + it 'should work with other white space' do + @public_body.tag_string = "chesire\n\tlancashire" + @public_body.tag_string.should == 'chesire lancashire' + end + it 'should remove tags when changing them' do @public_body.tag_string = 'stilton' @public_body.tag_string.should == 'stilton' -- cgit v1.2.3