• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

UKGovernmentBEIS / beis-report-official-development-assistance / 12352697462
98%
develop: 99%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/selenium-webdriver-4.36.0
DEFAULT BRANCH: develop
Ran 16 Dec 2024 12:39PM UTC
Jobs 1
Files 255
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Dec 2024 12:30PM UTC coverage: 98.062% (+0.004%) from 98.058%
12352697462

Pull #2473

github

benshimmin
Front-end work for allowing users to switch organisations

We have a new front-end component, a dropdown menu organisation switcher, which
will be displayed for a user with a non-zero number of
`addtional_organisations` and will allow them to switch their organisation.
(There is no functionality currently to populate a given user's
`additional_organisations` - this would need to be done manually. By default
a user will have zero `additional_organisations` and this component will be
hidden.)

Once switched, the user will see reports, exports, and activities for that
organisation. They can switch back to their original organisation in the
same way.

We store the user's switched organisation in the session as
`current_user_organisation`, and we also write this into
`Current.user_organisation` so we can easily access it in the `User` model
where we override the `#organisation` method in order to retrieve the data.

(We need to include `HideFromBullet` in the user comment edit spec because
`additional_organisations` on the `User` model confuses Bullet.)
Pull Request #2473: Front-end work for allowing users to switch organisations

16 of 16 new or added lines in 3 files covered. (100.0%)

6983 of 7121 relevant lines covered (98.06%)

965.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12352697462.1 16 Dec 2024 12:39PM UTC 255
98.06
GitHub Action Run
Source Files on build 12352697462
  • Tree
  • List 255
  • Changed 31
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12352697462
  • Pull Request #2473
  • PR Base - develop (#12348962115)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc