howto fix spreewald issue „database configuration does not specify adapter (ActiveRecord::AdapterNotSpecified)“

Posted . Visible to the public.

This error occurs when you already have a database.yml which defines the database for the cucumber environment instead of test. (Spreewald database.sample.yml has changed)

Fix

Change cucumber to test in your databse.yml

test:    # <---
  adapter: mysql2
  database: spreewald_test
  encoding: utf8
  host: localhost
  username: root
  password: password
License
Source code in this card is licensed under the MIT License.
Posted to makandra dev (2013-11-29 10:33)