- it_should_behave_like 'item found' do
- let(:pp) { <<-EOS
- if member( [1,2,3,4], 4 ){
- notify { 'output correct': }
- }
- EOS
- }
+ let(:pp) do
+ <<-DOC
+ if member( [1,2,3,4], 4 ){
+ notify { 'output correct': }
+ }
+ DOC
+ end
+
+ it_behaves_like 'item found' do