7 Commits

Author SHA1 Message Date
richard-dds
7a23b09676 Formatting 2018-10-08 11:40:15 -04:00
richard-dds
40557a5494 Merge SuperFactories into Factories, overriding _create 2018-10-08 10:36:02 -04:00
richard-dds
9061c3515c Refactor test_update_environment_roles 2018-10-07 11:52:28 -04:00
richard-dds
e383ee533a Super factories! 2018-10-05 16:48:12 -04:00
Patrick Smith
7b2a099ef3 Filter environments for user with given project id
Previously, calling `Environment.for_user(user, project)` would return
environments a user has access to across all projects. Now, we will only
return the relevant environements. This was the cause of a visual bug
where extra environments were shown in the project list.
2018-09-30 22:06:10 -04:00
Montana
18776aa71c Fix tests 2018-09-25 11:13:24 -04:00
Montana
3a978a1673 Fix bugs and write a test 2018-09-25 11:13:24 -04:00