Commit a46ca8c804f2e8b54b3de353e001dd50cb522b9d
1 parent
5eaa6270
Exists in
master
and in
29 other branches
rails3: fix plugin_manager tests
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/unit/plugin_manager_test.rb
... | ... | @@ -110,7 +110,7 @@ class PluginManagerTest < ActiveSupport::TestCase |
110 | 110 | |
111 | 111 | Plugin3.any_instance.expects(:random_event).never |
112 | 112 | |
113 | - assert 'Plugin2', manager.first(:random_event) | |
113 | + assert 'Plugin2', manager.dispatch_first(:random_event) | |
114 | 114 | end |
115 | 115 | |
116 | 116 | should 'returns plugins that returns true to the event' do | ... | ... |