Sha256: f707fbb8b9c6813796d3ebd64e5daec08ed717273f157ea7169eaeb2482a3fc6
Contents?: true
Size: 676 Bytes
Versions: 37
Compression:
Stored size: 676 Bytes
Contents
# Minitest Configuration The setup for minitest is the same as for rspec with the following difference. Rather than calling `ReactOnRails::TestHelper.configure_rspec_to_compile_assets(config)`, instead you will do something like this: ```ruby class ActiveSupport::TestCase setup do ReactOnRails::TestHelper.ensure_assets_compiled end end ``` Or maybe something like this, from the [minitest docs](https://github.com/seattlerb/minitest/blob/master/lib/minitest/test.rb#L119): ```ruby module MyMinitestPlugin def before_setup super ReactOnRails::TestHelper.ensure_assets_compiled end end class MiniTest::Test include MyMinitestPlugin end ```
Version data entries
37 entries across 37 versions & 1 rubygems