I have function in a MySQL database, created using a migration.
Using the trackles_triggers gem so that it is included in the exported schema.rb, when using the following:
rake db:migrate
rake db:test:purge
rake db:schema:load RAILS_ENV=test
seems to be working as expected with the function being created in the test database.
But using the following as suggested in the guides does not seem to be working:
rake db:migrate
rake db:test:purge
rake db:test:load
Is that the expected behaviour?
Should the rake:test:load be able to recreate the database including the method as described in the guides?
http://guides.rubyonrails.org/testing.htmlUsing raiils 3.2.15
Thanks