Revert "attempt to make travis happy" [ci skip]
This reverts commit 8507dc864f.
This commit is contained in:
parent
8507dc864f
commit
52c8540091
1 changed files with 3 additions and 6 deletions
|
|
@ -19,12 +19,9 @@ class Server
|
|||
end
|
||||
|
||||
def self.all
|
||||
@servers ||= lambda {
|
||||
keys = ActiveRecord::Base.configurations.keys.select{
|
||||
|k| k.include?("integration")
|
||||
}
|
||||
keys ? keys.map{ |k| self.new(k) } : []
|
||||
}.call
|
||||
@servers ||= ActiveRecord::Base.configurations.keys.select{
|
||||
|k| k.include?("integration")
|
||||
}.map{ |k| self.new(k) }
|
||||
end
|
||||
|
||||
attr_reader :port, :env
|
||||
|
|
|
|||
Loading…
Reference in a new issue