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.
10 lines
192 B
10 lines
192 B
3 years ago
|
require "rails_helper"
|
||
|
|
||
|
describe PostcodeService do
|
||
|
let(:postcode) { "s r81LS\u00A0" }
|
||
|
|
||
|
it "returns clean postcode" do
|
||
|
expect(described_class.clean(postcode)).to eq "SR81LS"
|
||
|
end
|
||
|
end
|