A well-liked BDD framework for testing Ruby/Rails apps is RSpec. Use the RSpec or RSpec-Rails gem, depending on the project you are working on