Sha256: f8c44817ca2545b0980b7df4e6714ee04aa1eb35db6b3b0fac6ef074afb184b2

Contents?: true

Size: 436 Bytes

Versions: 7

Compression:

Stored size: 436 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class Gecko::UserTest < Minitest::Test
  include VCRHelper
  include SharedRecordExamples

  let(:plural_name)   { 'users' }
  let(:record_class)  { Gecko::Record::User }

  def setup
    @json   = load_vcr_hash('users', 'users').first
    @record = record_class.new(client, @json)
  end

  def test_initializes_record
    assert_instance_of(Gecko::Record::User, @record)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gecko-ruby-0.12.3 test/record/user_test.rb
gecko-ruby-0.12.2 test/record/user_test.rb
gecko-ruby-0.12.1 test/record/user_test.rb
gecko-ruby-0.12.0 test/record/user_test.rb
gecko-ruby-0.11.1 test/record/user_test.rb
gecko-ruby-0.11.0 test/record/user_test.rb
gecko-ruby-0.10.0 test/record/user_test.rb