lib/flipper/notifications/feature_event.rb in flipper-notifications-0.1.4 vs lib/flipper/notifications/feature_event.rb in flipper-notifications-0.1.5
- old
+ new
@@ -43,13 +43,13 @@
[].tap do |settings|
settings << "The feature is now enabled for:" if feature.conditional?
settings << "- Groups: #{to_sentence(feature.enabled_groups.map(&:name).sort)}" if feature.enabled_groups.any?
- settings << "- Users: #{to_sentence(feature.actors_value.sort)}" if feature.actors_value.any?
+ settings << "- Actors: #{to_sentence(feature.actors_value.sort)}" if feature.actors_value.any?
if feature.percentage_of_actors_value.positive?
- settings << "- #{feature.percentage_of_actors_value}% of users"
+ settings << "- #{feature.percentage_of_actors_value}% of actors"
end
settings << "- #{feature.percentage_of_time_value}% of the time" if feature.percentage_of_time_value.positive?
end.join("\n")
end