|
|
|
@ -47,7 +47,9 @@ RSpec.describe Forms::BulkUploadLettings::Guidance do |
|
|
|
let(:year) { nil } |
|
|
|
let(:year) { nil } |
|
|
|
|
|
|
|
|
|
|
|
before do |
|
|
|
before do |
|
|
|
|
|
|
|
# rubocop:disable RSpec/AnyInstance |
|
|
|
allow_any_instance_of(CollectionTimeHelper).to receive(:current_collection_start_year).and_return(2030) |
|
|
|
allow_any_instance_of(CollectionTimeHelper).to receive(:current_collection_start_year).and_return(2030) |
|
|
|
|
|
|
|
# rubocop:enable RSpec/AnyInstance |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
it "is set to the current collection start year" do |
|
|
|
it "is set to the current collection start year" do |
|
|
|
|