Given(/^the provider has old charts feature (enabled|disabled)$/) do |enabled| # TODO: get rid of this when we get rid of legacy charts
  step 'all the rolling updates features are off'
  Stats::Data::ApplicationsController.any_instance.expects(:old_charts?).returns(enabled == 'enabled' ).at_least_once
end
