File: test_base.rb

package info (click to toggle)
ruby-client-side-validations 3.2.6%2Bgh-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 672 kB
  • ctags: 510
  • sloc: ruby: 2,959; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
require 'active_model/cases/helper'

class ClientSideValidations::ActiveModelTestBase < ActiveModel::TestCase
  include ActiveModel::Validations

  def setup
    @person = Person.new
  end

end