Sha256: 0abf69bd134715d63d744030c832bf94cc6973c21b3bb99d94e79b5cef771c65

Contents?: true

Size: 312 Bytes

Versions: 283

Compression:

Stored size: 312 Bytes

Contents

# Loads fixtures into the database when running the test app via the console
(ENV['FIXTURES'] ? ENV['FIXTURES'].split(/,/) : Dir.glob(File.join(Rails.root, '../fixtures/*.{yml,csv}'))).each do |fixture_file|
  Fixtures.create_fixtures(File.join(Rails.root, '../fixtures'), File.basename(fixture_file, '.*'))
end

Version data entries

283 entries across 280 versions & 33 rubygems

Version Path
angular_xss-0.3.0 spec/rails-2.3/app_root/lib/console_with_fixtures.rb
assignable_values-0.11.3 spec/rails-2.3/app_root/lib/console_with_fixtures.rb
assignable_values-0.11.2 spec/rails-2.3/app_root/lib/console_with_fixtures.rb
has_defaults-0.4.2 spec/rails-2.3/app_root/lib/console_with_fixtures.rb
angular_xss-0.2.3 spec/rails-2.3/app_root/lib/console_with_fixtures.rb
angular_xss-0.2.2 spec/rails-2.3/app_root/lib/console_with_fixtures.rb
angular_xss-0.2.1 spec/rails-2.3/app_root/lib/console_with_fixtures.rb
angular_xss-0.2.0 spec/rails-2.3/app_root/lib/console_with_fixtures.rb
Chrononaut-aegis-1.2.0 test/app_root/lib/console_with_fixtures.rb
cjbottaro-aegis-1.3.0 test/app_root/lib/console_with_fixtures.rb
cjbottaro-aegis-1.3.1 test/app_root/lib/console_with_fixtures.rb
cjbottaro-param_protected-1.1.0 test/app_root/lib/console_with_fixtures.rb
dinsley-markaby-0.0.5 test/app_root/lib/console_with_fixtures.rb
dinsley-markaby-0.0.6 test/app_root/lib/console_with_fixtures.rb
dinsley-markaby-0.0.7 test/app_root/lib/console_with_fixtures.rb
dinsley-markaby-0.0.9 test/app_root/lib/console_with_fixtures.rb
makandra-aegis-1.1.1 test/app_root/lib/console_with_fixtures.rb
makandra-aegis-1.1.2 test/app_root/lib/console_with_fixtures.rb
makandra-cucumber_factory-0.1.2 spec/app_root/lib/console_with_fixtures.rb
makandra-cucumber_factory-0.1.3 spec/app_root/lib/console_with_fixtures.rb