Sha256: 85293d1b4f7e344c29103c6540bf66561f0190915e411044d68b668319dc01f3
Contents?: true
Size: 733 Bytes
Versions: 10
Compression:
Stored size: 733 Bytes
Contents
require 'test_helper' class Gecko::Record::UserAdapterTest < Minitest::Test include TestingAdapter include SharedAdapterExamples let(:adapter) { @client.User } let(:plural_name) { 'users' } let(:record_class) { Gecko::Record::User } def test_initializes_adapter assert_instance_of(Gecko::Record::UserAdapter, @client.User) end # Can't build users via API undef :test_build undef :test_build_with_attributes undef :test_saving_new_record undef :test_saving_new_invalid_record def test_current VCR.use_cassette('users#current') do assert_instance_of(Gecko::Record::User, @client.User.current) assert(@client.User.current, 'User.current is identity mapped') end end end
Version data entries
10 entries across 10 versions & 1 rubygems