add refactor to 'filters by current Content-Type'  context specs in provide_condition_spec.rb