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
makandra-cucumber_factory-1.1.3 spec/app_root/lib/console_with_fixtures.rb
makandra-cucumber_factory-1.1.5 spec/app_root/lib/console_with_fixtures.rb
makandra-cucumber_factory-1.1.6 spec/app_root/lib/console_with_fixtures.rb
makandra-cucumber_factory-1.1.7 spec/app_root/lib/console_with_fixtures.rb
skozlov-netzke-basepack-0.1.0.1 test/console_with_fixtures.rb
skozlov-netzke-basepack-0.1.0 test/console_with_fixtures.rb
skozlov-netzke-basepack-0.1.1.1 test/console_with_fixtures.rb
skozlov-netzke-basepack-0.1.1.2 test/console_with_fixtures.rb
skozlov-netzke-basepack-0.1.1 test/console_with_fixtures.rb
skozlov-netzke-basepack-0.5.0 test/console_with_fixtures.rb
skozlov-netzke-basepack-0.5.1 test/console_with_fixtures.rb
skozlov-netzke-basepack-0.5.2 test/console_with_fixtures.rb
skozlov-netzke-core-0.4.1 test/app_root/lib/console_with_fixtures.rb
skozlov-netzke-core-0.4.2 test/app_root/lib/console_with_fixtures.rb
skozlov-netzke-core-0.4.3 test/app_root/lib/console_with_fixtures.rb
skozlov-netzke_basepack-0.1.0 test/console_with_fixtures.rb
skozlov-netzke_core-0.1.0 test/console_with_fixtures.rb
assignable_values-0.11.1 spec/rails-2.3/app_root/lib/console_with_fixtures.rb
assignable_values-0.11.0 spec/rails-2.3/app_root/lib/console_with_fixtures.rb
assignable_values-0.10.0 spec/rails-2.3/app_root/lib/console_with_fixtures.rb