Sha256: dc3b1ecb5969048355bcebfb4dbcbdf924561b12763cf3d37f8c6e55b7b28671

Contents?: true

Size: 450 Bytes

Versions: 5

Compression:

Stored size: 450 Bytes

Contents

# frozen_string_literal: true

ENV['RAILS_ENV'] ||= 'test'

require 'active_record/railtie'
require 'idy'
require 'pry-byebug'

ActiveRecord::Base.establish_connection adapter: :sqlite3, database: ':memory:'

Dir[File.expand_path('support/**/*.rb', __dir__)].each { |file| require file }

def article_default_salt
  '1182093125'
end

def clean_default_salt
  '3125114'
end

def comment_default_salt
  ''
end

def user_default_salt
  '1182093125'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
idy-1.1.0 spec/rails_helper.rb
idy-1.0.0 spec/rails_helper.rb
idy-0.1.3 spec/rails_helper.rb
idy-0.1.2 spec/rails_helper.rb
idy-0.1.1 spec/rails_helper.rb