Given I put sqlite3.dll and sqlite3.exe into bin directory of Ruby installation And I’ve installed sqlite3 gem using ~~~ gem install sqlite3 ~~~
And I wrote code in the beginning of chapter 10 before first run of Cucumber But I don’t have bank.db file in /db directory When I run cucumber Then I get error “””
Given my account has been credited with $100 # features/step_definitions/account_steps.rb:1 Could not find table 'accounts' (ActiveRecord::StatementInvalid) ./features/support/world_extensions.rb:14:in `new' ./features/support/world_extensions.rb:14:in `my_account' ./features/step_definitions/account_steps.rb:2:in `/^my account has been credited with (\$(?:\d+))$/' features\cash_withdrawal.feature:3:in `Given my account has been credited with $100'
How can I solve it?