modified rspec for new dsl