```ruby
ENV['RACK_ENV'] = 'test'

require_relative './mock/app'
require 'rspec'
require 'rack/test'
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
```

Move codeclimate code to the top
user
```ruby
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start

ENV['RACK_ENV'] = 'test'

require_relative './mock/app'
require 'rspec'
require 'rack/test'
```
assistant