diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-14 16:59:04 +0300 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-14 16:59:04 +0300 |
commit | 2c7d9cfa7dbd4e7716793bdb1ee9e081f13c33b2 (patch) | |
tree | 4430479ebd90419dac607a90d24242ee78873e1c /lib | |
parent | 405b82af230921db7b1510183063b126ef908e46 (diff) |
Move Ci::Build#available_statuses to AVAILABLE_STATUSES constant in CommitStatus
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/builds.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/builds.rb b/lib/api/builds.rb index 1337e1bb452..d293f988165 100644 --- a/lib/api/builds.rb +++ b/lib/api/builds.rb @@ -125,7 +125,7 @@ module API def filter_builds(builds, scope) return builds if scope.nil? || scope.empty? - available_statuses = Ci::Build.available_statuses + available_statuses = ::CommitStatus::AVAILABLE_STATUSES scope = if scope.is_a?(String) [scope] |