Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

9 lines
196 B

require "rails_helper"
describe PostcodeService do
let(:postcode) { "SR81LS\u00A0" }
it "triggers a validation error" do
expect(described_class.clean(postcode)).to eq "SR81LS"
end
end