Sha256: 9a13a5ae88e12669986c282f49a75873e10807be24ffacc4287cd2fcbbd46ef1

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

require 'helper'
require 'parse_resource'

ParseResource::Base.load!(ENV["PARSE_RESOURCE_APPLICATION_ID"], ENV["PARSE_RESOURCE_MASTER_KEY"])

class Bowl < ParseResource
  fields :title, :body, :author
  validates_presence_of :title
end
class ActiveModelLintTest < ActiveModel::TestCase
  include ActiveModel::Lint::Tests

  def setup
    @model = Bowl.new
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
parse_resource-1.8.0 test/active_model_lint_test.rb