Sha256: 3fdc29a85ba31ad50bfdbb91cecd638516bde4ce2ee9b439c81c564854b0f688

Contents?: true

Size: 512 Bytes

Versions: 10

Compression:

Stored size: 512 Bytes

Contents

ENV["RAILS_ENV"] ||= "test"
require_relative "../config/environment"
require "rails/test_help"

class ActiveSupport::TestCase
  # Run tests in parallel with specified workers
  parallelize(workers: :number_of_processors)

  # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
  fixtures :all

  # Add more helper methods to be used by all tests here...
  def admin_sign_in_as(user)
    post(admin_sign_in_url, params: { email: user.email, password: "Secret1*3*5*" }); user
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
administration-zero-0.0.10 lib/generators/admin/install/templates/test_unit/test_helper.rb
administration-zero-0.0.9 lib/generators/admin/install/templates/test_unit/test_helper.rb
administration-zero-0.0.8 lib/generators/admin/install/templates/test_unit/test_helper.rb
administration-zero-0.0.7 lib/generators/admin/install/templates/test_unit/test_helper.rb
administration-zero-0.0.6 lib/generators/admin/install/templates/test_unit/test_helper.rb
administration-zero-0.0.5 lib/generators/admin/install/templates/test_unit/test_helper.rb
administration-zero-0.0.4 lib/generators/admin/install/templates/test_unit/test_helper.rb
administration-zero-0.0.3 lib/generators/admin/install/templates/test_unit/test_helper.rb
administration-zero-0.0.2 lib/generators/admin/install/templates/test_unit/test_helper.rb
administration-zero-0.0.1 lib/generators/admin/install/templates/test_unit/test_helper.rb