Works like a charm, with only simple "string is in array of strings":
$ rspec be_in.rb --format=documentation --color
passing examples
bar
should be in "foo" and "bar"
should not be in "foo" and "baz"
failing examples
baz
should be in "foo" and "bar" (FAILED - 1)
should not be in "foo" and "baz" (FAILED - 2)
Failures:
1) failing examples baz should be in "foo" and "bar"
Failure/Error: it { should be_in %w(foo bar) }
expected "baz" to be in "foo" and "bar"
# ./be_in.rb:19:in `block (3 levels) in <top (required)>'
2) failing examples baz should not be in "foo" and "baz"
Failure/Error: it { should_not be_in %w(foo baz) }
expected "baz" not to be in "foo" and "baz"
# ./be_in.rb:20:in `block (3 levels) in <top (required)>'
Finished in 0.03009 seconds (files took 0.16068 seconds to load)
4 examples, 2 failures
Failed examples:
rspec ./be_in.rb:19 # failing examples baz should be in "foo" and "bar"
rspec ./be_in.rb:20 # failing examples baz should not be in "foo" and "baz"