Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 16 lines (13 sloc) 0.419 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Bundler.require(:default, :development)

Dir[File.expand_path(File.join(File.dirname(__FILE__),'..','..','spec','support','**','*.rb'))].each {|f| require f}
load 'lib/rails/generators/fabrication/cucumber_steps/templates/fabrication_steps.rb'

Before do
  clear_mongodb
  clear_sequel_db
  TestMigration.up
  Fabrication.clear_definitions
  Fabrication::Support.find_definitions
end

After do
  TestMigration.down
end
Something went wrong with that request. Please try again.