It should be `def self.helper`. This has nothing to do with the missing
`super`.

This passes:
```
RSpec.describe do
  def self.helper
    context 'another context' do
      let(:foo) { super() + 1 }

      it 'some test' do
        expect(foo).to eq(2)
      end
    end
  end

  describe 'something' do
    let(:foo) { 1 }
    helper
  end
end
```

Running your example, there's an error message that gives a hint:
```
`helper` is not available on an example group (e.g. a `describe` or
`context` block). It is only available from within individual examples
(e.g. `it` blocks)
```

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rspec+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/CAAk5Ok_KXVvkd%3DmPS0kUOtDc75Uqpehwp0bBVHUyeTfj0rGscw%40mail.gmail.com.

Reply via email to