diff options
author | eileencodes <eileencodes@gmail.com> | 2015-12-18 10:08:35 -0500 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2015-12-18 10:17:28 -0500 |
commit | eac2eea3e1452ee93db46049375c1f38164d3d33 (patch) | |
tree | 0af134370f2ae24337ca834ab95b0f26ecb006b4 /actioncable/lib/rails/generators | |
parent | 65146b58d19ff92c4da1a68b45c2d8c44e2a1c0c (diff) | |
download | rails-eac2eea3e1452ee93db46049375c1f38164d3d33.tar.gz rails-eac2eea3e1452ee93db46049375c1f38164d3d33.tar.bz2 rails-eac2eea3e1452ee93db46049375c1f38164d3d33.zip |
Fix test that fails in isolation
This test needs to have a require for the Listen gem or else it returns
an error when run by itself or with a certain order in the Active
Support tests. We use `silence_warnings` because Listen has some
warnings about private methods. It's already silenced when it's required
in Active Support EventedFileUpdateChecker.
```
1) Error:
EventedFileUpdateCheckerTest#test_should_not_execute_the_block_if_no_paths_are_given:
NameError: uninitialized constant EventedFileUpdateCheckerTest::Listen
test/evented_file_update_checker_test.rb:21:in `teardown'
```
Diffstat (limited to 'actioncable/lib/rails/generators')
0 files changed, 0 insertions, 0 deletions