aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/widgets_controller_spec.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2015-04-29 12:48:05 +0100
committerGareth Rees <gareth@mysociety.org>2015-05-12 16:13:16 +0100
commit4e568aab076f818ea5d011d05779edfa2bca68ec (patch)
treef50b32e2ed9ac2d5becc6bb4f983ba64c896514e /spec/controllers/widgets_controller_spec.rb
parent4a244582f4da2247cedbf2b4ec0a0ee64b50ca55 (diff)
Add a non-mutating #apply_to_text
Still need to `return nil if text_to_censor.nil?` because `gsub!` returns `nil` rather than the original text if it does not make a substitution.
Diffstat (limited to 'spec/controllers/widgets_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions