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

cantino / huginn / 3793
92%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2017 09:32PM UTC
Jobs 6
Files 149
Run time 6min
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

pending completion
3793

push

travis-ci

cantino
Close #1914 - remove 'become user' if deactivated user (#1938)

Ticket -- https://github.com/cantino/huginn/issues/1914
Testing -- Local huginn setup
About --
Switching as admin to a user is broken if the user is deactivated.

This code makes the 'Become User' buttons invisible if the user to
be impersonated is deactivated. The buttons used to be visible on:
* /admin/users
* /admin/users/XX/edit

Bonus: removes the 'Become User' button from the 'Edit Users' page
if we are the edited `current_user`.

6503 of 7095 relevant lines covered (91.66%)

413.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3793.1 (2.2, DATABASE_ADAPTER=mysql2) 18 Mar 2017 09:32PM UTC 0
90.82
Travis Job 3793.1
2 3793.2 (2.3.1, DATABASE_ADAPTER=mysql2) 18 Mar 2017 09:32PM UTC 0
90.82
Travis Job 3793.2
3 3793.3 (2.2, DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres) 18 Mar 2017 09:32PM UTC 0
90.82
Travis Job 3793.3
4 3793.4 (2.3.1, DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres) 18 Mar 2017 09:31PM UTC 0
90.82
Travis Job 3793.4
7 3793.7 (2.3.1, RSPEC_TASK=spec:features DATABASE_ADAPTER=mysql2) 18 Mar 2017 09:38PM UTC 0
47.07
Travis Job 3793.7
8 3793.8 (2.3.1, RSPEC_TASK=spec:features DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres) 18 Mar 2017 09:38PM UTC 0
47.07
Travis Job 3793.8
Source Files on build 3793
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3793
  • 8ab1f97c on github
  • Prev Build on master (#3790)
  • Next Build on master (#3795)
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

© 2026 Coveralls, Inc