1 require 'spec_helper_acceptance'
3 describe 'reverse function' do
6 $a = "the public art galleries"
7 # Anagram: Large picture halls, I bet
9 notice(inline_template('reverse is <%= @o.inspect %>'))
11 it 'reverses strings' do
12 apply_manifest(pp1, :catch_failures => true) do |r|
13 expect(r.stdout).to match(%r{reverse is "seirellag tra cilbup eht"})
18 it 'handles no arguments'
19 it 'handles non strings or arrays'