Sha256: 3cd4374b23e0ef4abf12f9351e4e83b8eba88d653b7eadfa1d5e2c63189d09c9

Contents?: true

Size: 669 Bytes

Versions: 1

Compression:

Stored size: 669 Bytes

Contents

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

class ActiveSupport::TestCase
  ActiveRecord::Migration.check_pending!
  fixtures :all
end

class ActionDispatch::IntegrationTest
  DatabaseCleaner.strategy = :truncation
end

module TestAnswers
  ONE_PARAM_ANSWERS = [
    "",
    "1",
    "2",
    "3",
  ]

  TWO_PARAM_ANSWERS = [
    "",
    "this-is-the-greatest-post-23_-asf-1",
    "just-a-normal-for-15-test-string-2",
    "just-george-normal-for-15-test-string-3",
  ]

  TOPIC_ONE_PARAM_ANSWERS = [
    "",
    "my-string",
    "my-string-2",
    "mystring3",
    "my-string-4",
  ]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
friendly_slug-0.1.6 friendly_slug_gem_test/test/test_helper.rb