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
|