fix handling of rspec dep
remove deprecated lines usage