Skip to content

Commit

Permalink
Fix an existing spec
Browse files Browse the repository at this point in the history
WebsiteAgent now has a `template` option, which may not be a hash of
hashes.
  • Loading branch information
knu committed Oct 24, 2016
1 parent b998ac3 commit df4db3a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/support/shared_examples/agent_controller_concern.rb
Expand Up @@ -130,7 +130,10 @@
end

it "should configure targets with nested objects" do
agent.control_targets << agents(:bob_data_output_agent)
agent.control_targets = [
agents(:bob_csv_agent), # does not support a `template` option, but anyway
agents(:bob_data_output_agent)
]
agent.options['action'] = 'configure'
agent.options['configure_options'] = {
template: {
Expand Down

0 comments on commit df4db3a

Please sign in to comment.