Didn't really know how to phrase the title but my problem is as follows:

```
shared_examples "something" do 
  context "for something" do 
    fields.each do |field| 
      it "should have #{field} field" do 
        #Check something 
      end
    end
  end
end

describe Clazz do
  it_behaves_like "something" do
    let(:fields) {%w{something something2}}
  end
end

```

The execution of course blows up in the `fields.each` part since the variables are introduced in the `it` scope, not in `context`.

So my question is how would I introduce variables with to it\_behaves\_like to the context scope? Or should I use something else.