Sha256: 94fd6404191963123fc547cff9713ece3dddc8f324714e1209bcbb4b1d7c10fc

Contents?: true

Size: 702 Bytes

Versions: 3

Compression:

Stored size: 702 Bytes

Contents

# Configure Rails Envinronment
ENV["RAILS_ENV"] = "test"

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"
require "rspec/rails"

require "rails/generators"
require File.expand_path('../../lib/generators/extjs_scaffold.rb', __FILE__)

Rails.backtrace_cleaner.remove_silencers!

# Run any available migration
ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__)

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  # == Mock Framework
  config.mock_with :rspec
  
  # turn on transactions for factory use
  config.use_transactional_fixtures = true
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
extjs_scaffold-0.2.1 spec/spec_helper.rb
extjs_scaffold-0.2.0 spec/spec_helper.rb
extjs_scaffold-0.1.1 spec/spec_helper.rb