Sha256: 4ad2a62cfdfb313887e834e067698885824aaffd41f9a00345863b1987d24176
Contents?: true
Size: 472 Bytes
Versions: 45
Compression:
Stored size: 472 Bytes
Contents
require 'test_helper' class UserTest < Test::Unit::TestCase test 'get should get a user' do fake 'users/799407056', method: :get, status: 200, body: load_fixture('user') user = ShopifyAPI::User.find(799407056) assert_equal 799407056, user.id end test 'get should get all users' do fake 'users', method: :get, status: 200, body: load_fixture('users') users = ShopifyAPI::User.all assert_equal 799407056, users.first.id end end
Version data entries
45 entries across 45 versions & 1 rubygems