use current rspec api methods