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.
 
 
 
 

12 lines
353 B

require "rails_helper"
RSpec.describe Forms::BulkUploadLettings::Template do
subject(:form) { described_class.new }
describe "#options" do
it "returns correct templates" do
expect(form.options.map(&:id)).to eq([true, false])
expect(form.options.map(&:name)).to eq(["Legacy-style template", "New-style template"])
end
end
end