used backwards compatible rspec protocols