Changed spect to use be_within(c).of(n) instead of deprecated matcher