Sha256: a3e0032a9f5edc6bc075ae122866759e19d9daa5b028e27f5ef046df1234c701
Contents?: true
Size: 512 Bytes
Versions: 15
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 sign_in_admin_as(user) post(admin_sign_in_url, params: { email: user.email, password: "Secret1*3*5*" }); user end end
Version data entries
15 entries across 15 versions & 1 rubygems