list resource option modified to check the RSpec version