@@ -142,7 +142,7 @@ shared_examples_for AgentControllerConcern do |
||
142 | 142 |
agent.save! |
143 | 143 |
old_options = agents(:bob_data_output_agent).options |
144 | 144 |
|
145 |
- agent.check |
|
145 |
+ agent.control! |
|
146 | 146 |
|
147 | 147 |
expect(agent.control_targets.reload).to all(satisfy { |a| a.options['template'] && a.options['template']['item'] && (a.options['template']['item']['title'] == 'changed') }) |
148 | 148 |
expect(agents(:bob_data_output_agent).reload.options).to eq(old_options.deep_merge(agent.options['configure_options'])) |