try another spot to throw and error

This commit is contained in:
Renée Hendricksen 2016-05-30 18:05:25 +02:00
parent ace3e588ea
commit 8c6477c247
2 changed files with 1 additions and 1 deletions

View File

@ -15,6 +15,7 @@ class Travis::Api::App
# #
# json(:repositories) # json(:repositories)
get '/' do get '/' do
we want an error
prefer_follower do prefer_follower do
params['ids'] = params['ids'].split(',') if params['ids'].respond_to?(:split) params['ids'] = params['ids'].split(',') if params['ids'].respond_to?(:split)
respond_with service(:find_repos, params) respond_with service(:find_repos, params)

View File

@ -8,7 +8,6 @@ module Travis
attr_reader :repositories, :options attr_reader :repositories, :options
def initialize(repositories, options = {}) def initialize(repositories, options = {})
this is a test to throw an error on staging
@repositories = repositories @repositories = repositories
@options = options @options = options
end end