```ruby
require 'juici'
require 'mocha'

require 'fileutils'

ENV['RACK_ENV'] ||= "test"

Dir["#{File.expand_path(File.dirname(__FILE__))}/helpers/**/*.rb"].each do |f|
  puts "Requiring #{f}"
  require f
end

RSpec.configure do |config|
  config.mock_framework = :mocha
end
```

Set RACK_ENV before juici has a chance to
user
```ruby
ENV['RACK_ENV'] ||= "test"

require 'juici'
require 'mocha'

require 'fileutils'

Dir["#{File.expand_path(File.dirname(__FILE__))}/helpers/**/*.rb"].each do |f|
  puts "Requiring #{f}"
  require f
end

RSpec.configure do |config|
  config.mock_framework = :mocha
end
```
assistant