Browse Source

Bump commonmarker from 0.23.9 to 0.23.10 in /docs (#1832)

* Bump commonmarker from 0.23.9 to 0.23.10 in /docs

Bumps [commonmarker](https://github.com/gjtorikian/commonmarker) from 0.23.9 to 0.23.10.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases)
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/v0.23.10/CHANGELOG.md)
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.9...v0.23.10)

---
updated-dependencies:
- dependency-name: commonmarker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* test

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
pull/1836/head
kosiakkatrina 1 year ago committed by GitHub
parent
commit
4891897fdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/Gemfile.lock
  2. 2
      spec/helpers/filters_helper_spec.rb
  3. 9
      spec/services/csv/lettings_log_csv_service_spec.rb

2
docs/Gemfile.lock

@ -13,7 +13,7 @@ GEM
execjs
coffee-script-source (1.11.1)
colorator (1.1.0)
commonmarker (0.23.9)
commonmarker (0.23.10)
concurrent-ruby (1.2.2)
dnsruby (1.61.9)
simpleidn (~> 0.1)

2
spec/helpers/filters_helper_spec.rb

@ -176,7 +176,7 @@ RSpec.describe FiltersHelper do
let(:user) { FactoryBot.create(:user, :support, organisation: child_organisation) }
it "returns a list of all organisations" do
expect(owning_organisation_filter_options(user)).to eq([
expect(owning_organisation_filter_options(user)).to match_array([
OpenStruct.new(id: "", name: "Select an option"),
OpenStruct.new(id: child_organisation.id, name: "Child organisation"),
OpenStruct.new(id: absorbed_organisation.id, name: "Absorbed organisation"),

9
spec/services/csv/lettings_log_csv_service_spec.rb

@ -28,6 +28,15 @@ RSpec.describe Csv::LettingsLogCsvService do
let(:logs) { [log] }
let(:headers) { csv.first }
before do
Timecop.freeze(fixed_time)
Singleton.__init__(FormHandler)
end
after do
Timecop.return
end
it "calls the form handler to get all questions in order when initialized" do
allow(FormHandler).to receive(:instance).and_return(form_handler_mock)
allow(form_handler_mock).to receive(:ordered_lettings_questions_for_all_years).and_return([])

Loading…
Cancel
Save