pat/combustion

Support for Minitest?

Closed this issue · 5 comments

yes/no/maybe/already?

pat commented

I've not used Combustion with Minitest, nor does anything within it exist specifically for that purpose, but patches are very much welcome. It was discussed briefly in #4, but nothing detailed.

FWIW, I was able to use this with Minitest by creating a test/test_helper.rb file, which I required in each of my tests files...

#file: test/test_helper.rb
require "combustion"
Combustion.path = "test/internal"
Combustion.initialize! :all

Note; I'm only testing Railties here, not submitting http requests, so I'm not sure about that.

pat commented

Thanks for sharing that Joshua, great to hear it's working for you :)

I did exactly the same, also works flawlessly. I'm doing integration tests, however I'm not using activerecord.