```ruby
require "formtastic"
require "formtastic-bootstrap/engine"
require "formtastic-bootstrap/helpers"
require "formtastic-bootstrap/inputs"
require "formtastic-bootstrap/form_builder"
require "action_view/helpers/text_field_date_helper"
```

Make changes so test environment runs.
user
```ruby
require "formtastic"
require "formtastic-bootstrap/engine" if defined?(::Rails) # For tests
require "formtastic-bootstrap/helpers"
require "formtastic-bootstrap/inputs"
require "formtastic-bootstrap/form_builder"
require "action_view/helpers/text_field_date_helper"
```
assistant