spec/resource_spec.rb in wright-0.2.0 vs spec/resource_spec.rb in wright-0.3.0

- old
+ new

@@ -104,10 +104,10 @@ provider = Wright::Provider::AlwaysUpdated Wright::Config[:resources] = { updater: { provider: provider.name } } name = :farnsworth resource = Updater.new(name) resource_info = "#{resource.resource_name} '#{name}'" - output = "INFO: Would trigger update action for #{resource_info}\n" + output = "INFO: (would) run update action for #{resource_info}\n" lambda do reset_logger resource.on_update = @say_hello assert resource.do_something end.must_output output