refactor engine testing scenario
Engine is now tested standalone by leveraging a dummy rails app Enable Guard for speedy testing Move factories to the more standard location `spec/factories/*` Update README with a Testing section Rename migrations to contain datetimestamps for their version to fix migration order issues when migrating the dummy application
This commit is contained in:
parent
3454a9c300
commit
21b19db5a3
111 changed files with 2208 additions and 64 deletions
|
@ -37,7 +37,7 @@ class CreateBlogStructure < ActiveRecord::Migration
|
|||
|
||||
add_index Refinery::Categorization.table_name, [:blog_category_id, :blog_post_id], :name => 'index_blog_categories_blog_posts_on_bc_and_bp'
|
||||
|
||||
load(Rails.root.join('db', 'seeds', 'refinerycms_blog.rb').to_s)
|
||||
load(File.expand_path('../../seeds/refinerycms_blog.rb', __FILE__))
|
||||
end
|
||||
|
||||
def down
|
Loading…
Add table
Add a link
Reference in a new issue