Browse Source

More test fixes

pull/2825/head
Rachael Booth 1 year ago
parent
commit
b02c51e098
  1. 2
      spec/components/sales_log_summary_component_spec.rb

2
spec/components/sales_log_summary_component_spec.rb

@ -16,7 +16,7 @@ RSpec.describe SalesLogSummaryComponent, type: :component do
it "shows the log summary with organisational relationships" do
result = render_inline(described_class.new(current_user: support_user, log: sales_log))
expect(result).to have_content("Owned by\n MHCLG")
expect(result).to have_content("Owned by\n #{sales_log.owning_organisation.name}")
expect(result).not_to have_content("Managed by")
end
end

Loading…
Cancel
Save