File: spec_helper.rb

package info (click to toggle)
ruby-validates-hostname 1.0.13-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 196 kB
  • sloc: ruby: 774; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 272 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'active_record'
require "rails"
require 'rspec-rails'
require 'rspec/collection_matchers'

require 'validates_hostname'
require 'test_model'

RSpec.configure do |config|
  config.mock_with :rspec
  config.expect_with :rspec do |c|
    c.syntax = :should
  end
end