repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20191019224617_move_steam_app_ids_to_separate_model.rb
db/migrate/20191019224617_move_steam_app_ids_to_separate_model.rb
class MoveSteamAppIdsToSeparateModel < ActiveRecord::Migration[6.0] def up # Find all games with Steam AppIDs and move them to the steam_app_ids table. # Then remove the column from games. Game.where.not(steam_app_id: nil).each do |game| # rubocop:disable Rails/FindEach SteamAppId.create( ap...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20190314030442_create_favorites.rb
db/migrate/20190314030442_create_favorites.rb
class CreateFavorites < ActiveRecord::Migration[5.2] def change create_table :favorites do |t| t.references :favoritable, polymorphic: true, index: true t.references :user, index: true t.timestamps end add_index :favorites, :favoritable_id add_index :favorites, :favoritable_type ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20190317225558_add_steam_app_ids_to_games.rb
db/migrate/20190317225558_add_steam_app_ids_to_games.rb
class AddSteamAppIdsToGames < ActiveRecord::Migration[5.2] def change add_column :games, :steam_app_id, :integer add_index :games, :steam_app_id, unique: true end end
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20190311003141_rename_score_to_rating.rb
db/migrate/20190311003141_rename_score_to_rating.rb
class RenameScoreToRating < ActiveRecord::Migration[5.2] def change change_table :game_purchases do |t| t.rename :score, :rating end end end
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20190311015828_add_completion_status_to_game_purchases.rb
db/migrate/20190311015828_add_completion_status_to_game_purchases.rb
class AddCompletionStatusToGamePurchases < ActiveRecord::Migration[5.2] def change add_column :game_purchases, :completion_status, :integer end end
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20220612003034_delete_invalid_events_records.rb
db/migrate/20220612003034_delete_invalid_events_records.rb
class DeleteInvalidEventsRecords < ActiveRecord::Migration[6.1] # Delete invalid events that are invalid due to the corresponding GamePurchase # not existing anymore. This is the only a problem for GamePurchase-related # events, based on our production data. def up invalid_event_ids = ActiveRecord::Base.con...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20200429023641_add_unique_index_on_game_purchases_game_and_user.rb
db/migrate/20200429023641_add_unique_index_on_game_purchases_game_and_user.rb
class AddUniqueIndexOnGamePurchasesGameAndUser < ActiveRecord::Migration[6.0] def change add_index :game_purchases, [:game_id, :user_id], unique: true end end
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20190106224620_create_release_publishers.rb
db/migrate/20190106224620_create_release_publishers.rb
class CreateReleasePublishers < ActiveRecord::Migration[5.2] def change create_table :release_publishers do |t| t.references :release, null: false t.references :company, null: false t.timestamps end add_foreign_key :release_publishers, :releases, on_delete: :cascade add_forei...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20191123180826_create_game_purchase_stores.rb
db/migrate/20191123180826_create_game_purchase_stores.rb
class CreateGamePurchaseStores < ActiveRecord::Migration[6.0] def change create_table :game_purchase_stores do |t| t.references :game_purchase, null: false t.references :store, null: false t.timestamps end add_foreign_key :game_purchase_stores, :game_purchases, on_delete: :cascad...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20210124194958_add_igdb_id_to_game.rb
db/migrate/20210124194958_add_igdb_id_to_game.rb
class AddIgdbIdToGame < ActiveRecord::Migration[6.1] def change add_column :games, :igdb_id, :text, null: true end end
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20190817182420_create_game_purchase_events.rb
db/migrate/20190817182420_create_game_purchase_events.rb
class CreateGamePurchaseEvents < ActiveRecord::Migration[6.0] def change create_table :game_purchase_events, id: :uuid do |t| t.references :user, null: false t.references :game_purchase, null: false t.timestamps end end end
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20220611223008_create_events_user_events.rb
db/migrate/20220611223008_create_events_user_events.rb
class CreateEventsUserEvents < ActiveRecord::Migration[6.1] def change create_table :events_user_events, id: :uuid do |t| t.references :user, null: false t.references :eventable, foreign_key: { to_table: :users }, null: false t.integer :event_category, null: false t.timestamps end e...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20190324220019_remove_bad_index_for_favorites.rb
db/migrate/20190324220019_remove_bad_index_for_favorites.rb
class RemoveBadIndexForFavorites < ActiveRecord::Migration[5.2] def change remove_index :favorites, [:favoritable_id, :favoritable_type] end end
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20190106222958_create_companies.rb
db/migrate/20190106222958_create_companies.rb
class CreateCompanies < ActiveRecord::Migration[5.2] def change create_table :companies do |t| t.text :name, null: false, default: "" t.text :description, null: false, default: "" t.timestamps end end end
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20190516231534_rename_favorites_to_favorite_games.rb
db/migrate/20190516231534_rename_favorites_to_favorite_games.rb
class RenameFavoritesToFavoriteGames < ActiveRecord::Migration[5.2] def change rename_table :favorites, :favorite_games end end
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20190305020700_add_wikidata_ids_to_genres.rb
db/migrate/20190305020700_add_wikidata_ids_to_genres.rb
class AddWikidataIdsToGenres < ActiveRecord::Migration[5.2] def change # Use a bigint just in case Wikidata ever has more than 2.1 billion items. add_column :genres, :wikidata_id, :integer, limit: 5 end end
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20220415022658_create_unmatched_games.rb
db/migrate/20220415022658_create_unmatched_games.rb
class CreateUnmatchedGames < ActiveRecord::Migration[6.1] def change create_table :unmatched_games, comment: 'Games imported from a third party service, such as Steam, that we weren\'t able to match to a game in vglist.' do |t| t.references :user, null: true, comment: 'The ID of the user that tried to impor...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/db/migrate/20190831230621_add_release_date_to_games.rb
db/migrate/20190831230621_add_release_date_to_games.rb
class AddReleaseDateToGames < ActiveRecord::Migration[6.0] def change add_column :games, :release_date, :date, null: true end end
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/rails_helper.rb
spec/rails_helper.rb
# This file is copied to spec/ when you run 'rails generate rspec:install' require 'spec_helper' ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../config/environment', __dir__) # Prevent database truncation if the environment is production abort("The Rails environment is running in production mode!") if Rails.en...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/spec_helper.rb
spec/spec_helper.rb
# This file was generated by the `rails generate rspec:install` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # The generated `.rspec` file contains `--require spec_helper` which will cause # this file to always be loaded, without a need to explicitly require ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/services/steam_import_service_spec.rb
spec/services/steam_import_service_spec.rb
require 'rails_helper' RSpec.describe SteamImportService, type: :service do let(:response) do { 'response': { 'game_count': 1, 'games': [ { 'appid': 10, 'name': "Counter-Strike", 'playtime_forever': 455, 'img_icon_url': "6b0312cda02f...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/services/game_merge_service_spec.rb
spec/services/game_merge_service_spec.rb
require 'rails_helper' RSpec.describe GameMergeService, type: :service do describe "merging two games" do let!(:game_a) { create(:game) } let!(:game_b) { create(:game) } let(:user) { create(:user) } let(:game_a_purchase) { create(:game_purchase, game: game_a, user: user) } let(:game_a_favorite) {...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/support/feature_test_helper.rb
spec/support/feature_test_helper.rb
module FeatureTestHelper def click_active_dropdown_option # the debounce on the search for the vue single-select component is 250ms. # Without this, nothing will show up for results. sleep 0.3 within '.v-select.vs--open ul.vs__dropdown-menu' do find('li.vs__dropdown-option--highlight').click ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/support/env_helper.rb
spec/support/env_helper.rb
# Helper to enable mocking ENV variables in tests. # # Based on https://stackoverflow.com/questions/9611276/what-is-the-best-way-to-write-specs-for-code-that-depends-on-environment-variabl module EnvHelper def with_environment(replacement_env) original_env = ENV.to_hash ENV.update(replacement_env) yield ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/support/include_hash_matching.rb
spec/support/include_hash_matching.rb
require 'rspec/expectations' # Based on this StackOverflow question: # https://stackoverflow.com/questions/23815944/rspec-match-array-of-hashes # With some stringification to make the comparison work when inputting # symbolized hashes. # # Will accept hashes that don't have every key from the returned hash. # # ```rub...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/support/search_test_helper.rb
spec/support/search_test_helper.rb
# Given a response body, parse the JSON and access the specific type of search # result we want. # # `searchables` is in roughly this format: # # ```json # { # "Game": [ # { # "id": 1932, # "content": "Half-Life 2", # "searchable_type": "Game", # "searchable_id": 1932, # "image_url":...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/support/api_request_test_helper.rb
spec/support/api_request_test_helper.rb
module ApiRequestTestHelper # @param query_string [String] # @param variables [Hash] # @param token [Doorkeeper::AccessToken] # @return [VglistApiRequestResponse] def api_request(query_string, variables: nil, token:) # Allow variables to be sent as snake case, e.g. "giantbomb_id" by # transforming the...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/genres_spec.rb
spec/requests/genres_spec.rb
require 'rails_helper' RSpec.describe "Genres", type: :request do describe "GET genres_path" do it "returns http success" do get genres_path expect(response).to have_http_status(:success) end end describe "GET genre_path" do let(:genre) { create(:genre) } let(:genre_with_everything) ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/search_spec.rb
spec/requests/search_spec.rb
require 'rails_helper' RSpec.describe "Search", type: :request do describe "GET search_path" do let(:series) { create(:series) } let(:game) { create(:game) } let(:sequential_games) { create_list(:game, 15, :sequential_name) } let(:more_sequential_games) { create_list(:game, 20, :sequential_name) } ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/stores_spec.rb
spec/requests/stores_spec.rb
require 'rails_helper' RSpec.describe "Stores", type: :request do describe "GET stores_path" do it "returns http success" do get stores_path expect(response).to have_http_status(:success) end end describe "GET store_path" do let(:store) { create(:store) } it "returns http success" d...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/admin_spec.rb
spec/requests/admin_spec.rb
require 'rails_helper' RSpec.describe "Admin", type: :request do describe "GET admin_path" do let(:user) { create(:confirmed_user) } let(:admin) { create(:confirmed_admin) } it "redirects if not signed in" do get admin_path expect(response).to redirect_to(new_user_session_path) end ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/engines_spec.rb
spec/requests/engines_spec.rb
require 'rails_helper' RSpec.describe "Engines", type: :request do describe "GET engines_path" do it "returns http success" do get engines_path expect(response).to have_http_status(:success) end end describe "GET engine_path" do let(:engine) { create(:engine) } let(:engine_with_every...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/series_spec.rb
spec/requests/series_spec.rb
require 'rails_helper' RSpec.describe "Series", type: :request do describe "GET series_index_path" do it "returns http success" do get series_index_path expect(response).to have_http_status(:success) end end describe "GET series_path" do let(:series) { create(:series) } let(:series_w...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/companies_spec.rb
spec/requests/companies_spec.rb
require 'rails_helper' RSpec.describe "Companies", type: :request do describe "GET companies_path" do it "returns http success" do get companies_path expect(response).to have_http_status(:success) end end describe "GET company_path" do let(:company) { create(:company) } let(:company_...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/static_pages_spec.rb
spec/requests/static_pages_spec.rb
require 'rails_helper' RSpec.describe "StaticPages", type: :request do describe "GET about_path" do it "returns http success" do get about_path expect(response).to have_http_status(:success) end end describe "GET graphiql_path" do let(:user) { create(:confirmed_user) } it "returns h...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/relationships_spec.rb
spec/requests/relationships_spec.rb
require 'rails_helper' RSpec.describe "Relationships", type: :request do describe "POST user_follow_path" do let(:user1) { create(:confirmed_user) } let(:user2) { create(:confirmed_user) } it "creates a follow" do sign_in(user1) user2 expect do post user_follow_path(user_id: u...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/platforms_spec.rb
spec/requests/platforms_spec.rb
require 'rails_helper' RSpec.describe "Platforms", type: :request do describe "GET platforms_path" do it "returns http success" do get platforms_path expect(response).to have_http_status(:success) end end describe "GET platform_path" do let(:platform) { create(:platform) } let(:platf...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/graphql_spec.rb
spec/requests/graphql_spec.rb
require 'rails_helper' RSpec.describe "GraphQL", type: :request do describe "POST graphql_path" do let(:token) { SecureRandom.alphanumeric(20) } let(:user) { create(:confirmed_user, encrypted_api_token: EncryptionService.encrypt(token)) } let(:user_with_no_token) { create(:confirmed_user) } let(:toke...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/users_spec.rb
spec/requests/users_spec.rb
require 'rails_helper' RSpec.describe "Users", type: :request do describe "GET users_path" do let(:users) { create_list(:user, 10) } let(:banned_user) { create(:banned_user) } let(:admin) { create(:confirmed_admin) } it "returns http success" do get users_path expect(response).to have_ht...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/settings_spec.rb
spec/requests/settings_spec.rb
require 'rails_helper' RSpec.describe "Settings", type: :request do describe "GET settings_path" do let(:user) { create(:confirmed_user) } it "returns http success" do sign_in(user) get settings_path expect(response).to have_http_status(:success) end it "redirects for users who ar...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/game_purchases_spec.rb
spec/requests/game_purchases_spec.rb
require 'rails_helper' RSpec.describe "GamePurchases", type: :request do describe "GET game_purchases_path" do it "returns http success" do get game_purchases_path(format: :json) expect(response).to have_http_status(:success) end end describe "GET game_purchases_path specifying a user id" do...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/activity_spec.rb
spec/requests/activity_spec.rb
require 'rails_helper' RSpec.describe "Activity", type: :request do describe "GET activity_path" do it "returns http success" do get activity_path expect(response).to have_http_status(:success) end end describe "GET activity_following_path" do let(:user) { create(:confirmed_user) } ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/games_spec.rb
spec/requests/games_spec.rb
require 'rails_helper' RSpec.describe "Games", type: :request do describe "GET games_path" do # rubocop:disable RSpec/LetSetup let!(:games) { create_list(:game, 5) } # rubocop:enable RSpec/LetSetup let(:platform) { create(:platform) } let(:game_with_platform) { create(:game, platforms: [platform]...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/events_spec.rb
spec/requests/events_spec.rb
require 'rails_helper' RSpec.describe "Events", type: :request do describe "DELETE event_path" do let(:user) { create(:confirmed_user) } let!(:event) { create(:event, user: user) } it "deletes an event" do sign_in(user) expect do delete event_path(id: event.id) end.to change(Vi...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/unmatched_games_spec.rb
spec/requests/unmatched_games_spec.rb
require 'rails_helper' RSpec.describe "UnmatchedGames", type: :request do describe "GET /index" do pending "add some examples (or delete) #{__FILE__}" end end
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/home_spec.rb
spec/requests/home_spec.rb
require 'rails_helper' RSpec.describe "Home", type: :request do describe "GET root_path" do it "returns http success" do get root_path expect(response).to have_http_status(:success) end end describe "GET root_path as normal user" do let(:user) { create(:confirmed_user) } it "returns...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/genres_spec.rb
spec/requests/api/genres_spec.rb
require 'rails_helper' RSpec.describe "Genres API", type: :request do describe "Query for data on genres" do let(:user) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/stores_spec.rb
spec/requests/api/stores_spec.rb
require 'rails_helper' RSpec.describe "Stores API", type: :request do describe "Query for data on stores" do let(:user) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/engines_spec.rb
spec/requests/api/engines_spec.rb
require 'rails_helper' RSpec.describe "Engines API", type: :request do describe "Query for data on engines" do let(:user) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/series_spec.rb
spec/requests/api/series_spec.rb
require 'rails_helper' RSpec.describe "Series API", type: :request do describe "Query for data on series" do let(:user) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/companies_spec.rb
spec/requests/api/companies_spec.rb
require 'rails_helper' RSpec.describe "Companies API", type: :request do describe "Query for data on companies" do let(:user) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application)...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/live_statistics_spec.rb
spec/requests/api/live_statistics_spec.rb
require 'rails_helper' RSpec.describe "Live Statistics API", type: :request do describe "Query for data on current live statistics" do context 'when signed in as an admin' do let(:user) { create(:confirmed_admin) } let(:application) { build(:application, owner: user) } let(:access_token) { crea...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/platforms_spec.rb
spec/requests/api/platforms_spec.rb
require 'rails_helper' RSpec.describe "Platforms API", type: :request do describe "Query for data on platforms" do let(:user) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application)...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/generic_spec.rb
spec/requests/api/generic_spec.rb
require 'rails_helper' RSpec.describe "API", type: :request do describe "Query for data on game_purchase" do let(:user) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/users_spec.rb
spec/requests/api/users_spec.rb
require 'rails_helper' RSpec.describe "Users API", type: :request do describe "Query for data on users" do let(:user) { create(:confirmed_user) } let(:user2) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/game_purchases_spec.rb
spec/requests/api/game_purchases_spec.rb
require 'rails_helper' RSpec.describe "GamePurchase API", type: :request do describe "Query for data on game_purchase" do let(:user) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: appli...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/site_statistics_spec.rb
spec/requests/api/site_statistics_spec.rb
require 'rails_helper' RSpec.describe "Site Statistics API", type: :request do describe "Query for data on site statistics" do context 'when signed in as an admin' do let(:user) { create(:confirmed_admin) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:acce...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/activity_spec.rb
spec/requests/api/activity_spec.rb
require 'rails_helper' RSpec.describe "Activity API", type: :request do describe "Query for data on activity globally" do let(:user) { create(:confirmed_user) } let(:user2) { create(:confirmed_user) } let(:user3) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } l...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/global_search_spec.rb
spec/requests/api/global_search_spec.rb
require 'rails_helper' RSpec.describe "Global Search API", type: :request do describe "Query for data" do let(:user) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } c...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/errors_spec.rb
spec/requests/api/errors_spec.rb
require 'rails_helper' RSpec.describe "API Errors", type: :request do describe "API requests with invalid data" do let(:invalid_access_token) { instance_double(Doorkeeper::AccessToken, token: 'foo') } let(:banned_user) { create(:banned_user) } let(:application) { build(:application, owner: banned_user) }...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/admin/wikidata_blocklist_spec.rb
spec/requests/api/admin/wikidata_blocklist_spec.rb
require 'rails_helper' RSpec.describe "Wikidata Blocklist API", type: :request do describe "Query for data on Wikidata blocklist entries" do context 'when signed in as an admin' do let(:user) { create(:confirmed_admin) } let(:application) { build(:application, owner: user) } let(:access_token) ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/admin/grouped_unmatched_games_spec.rb
spec/requests/api/admin/grouped_unmatched_games_spec.rb
require 'rails_helper' RSpec.describe "Grouped Unmatched Games API", type: :request do describe "Query for data on UnmatchedGame entries" do context 'when signed in as a normal user' do let(:user) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } let(:access_tok...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/admin/steam_blocklist_spec.rb
spec/requests/api/admin/steam_blocklist_spec.rb
require 'rails_helper' RSpec.describe "Steam Blocklist API", type: :request do describe "Query for data on steam blocklist entries" do context 'when signed in as an admin' do let(:user) { create(:confirmed_admin) } let(:application) { build(:application, owner: user) } let(:access_token) { crea...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/delete_event_spec.rb
spec/requests/api/mutations/delete_event_spec.rb
require 'rails_helper' RSpec.describe "DeleteEvent Mutation API", type: :request do describe "Mutation deletes event" do let!(:user) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: appli...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/game_purchases/remove_game_from_library_spec.rb
spec/requests/api/mutations/game_purchases/remove_game_from_library_spec.rb
require 'rails_helper' RSpec.describe "RemoveGameFromLibrary Mutation API", type: :request do describe "Mutation removes a game from user's library" do let(:user) { create(:confirmed_user) } let(:game) { create(:game) } let(:game_purchase) { create(:game_purchase, user: user, game: game) } let(:user2...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/game_purchases/update_game_in_library_spec.rb
spec/requests/api/mutations/game_purchases/update_game_in_library_spec.rb
require 'rails_helper' RSpec.describe "UpdateGameInLibrary Mutation API", type: :request do describe "Mutation updates an existing GamePurchase" do let(:user) { create(:confirmed_user) } let(:user2) { create(:confirmed_user) } let(:game) { create(:game) } let(:game_purchase) { create(:game_purchase, ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/game_purchases/add_game_to_library_spec.rb
spec/requests/api/mutations/game_purchases/add_game_to_library_spec.rb
require 'rails_helper' RSpec.describe "AddGameToLibrary Mutation API", type: :request do describe "Mutation creates a new GamePurchase" do let(:user) { create(:confirmed_user) } let(:game) { create(:game) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_tok...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/genres/create_genre_spec.rb
spec/requests/api/mutations/genres/create_genre_spec.rb
require 'rails_helper' RSpec.describe "CreateGenre Mutation API", type: :request do describe "Mutation creates a new genre record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let(:query_string...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/genres/delete_genre_spec.rb
spec/requests/api/mutations/genres/delete_genre_spec.rb
require 'rails_helper' RSpec.describe "DeleteGenre Mutation API", type: :request do describe "Mutation deletes an existing genre record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let!(:genre...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/genres/update_genre_spec.rb
spec/requests/api/mutations/genres/update_genre_spec.rb
require 'rails_helper' RSpec.describe "UpdateGenre Mutation API", type: :request do describe "Mutation updates an existing genre record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let!(:genre...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/admin/add_to_wikidata_blocklist_spec.rb
spec/requests/api/mutations/admin/add_to_wikidata_blocklist_spec.rb
require 'rails_helper' RSpec.describe "Add to Wikidata Blocklist Mutation API", type: :request do describe "Mutation creates the Wikidata blocklist entry" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application)...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/admin/remove_from_steam_blocklist_spec.rb
spec/requests/api/mutations/admin/remove_from_steam_blocklist_spec.rb
require 'rails_helper' RSpec.describe "Remove from Steam Blocklist Mutation API", type: :request do describe "Mutation removes the Steam blocklist entry" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/admin/remove_from_wikidata_blocklist_spec.rb
spec/requests/api/mutations/admin/remove_from_wikidata_blocklist_spec.rb
require 'rails_helper' RSpec.describe "Remove from Wikidata Blocklist Mutation API", type: :request do describe "Mutation removes the Wikidata blocklist entry" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: applica...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/admin/remove_from_unmatched_games_spec.rb
spec/requests/api/mutations/admin/remove_from_unmatched_games_spec.rb
require 'rails_helper' RSpec.describe "Remove from Unmatched Games Mutation API", type: :request do describe "Mutation removes the Unmatched Game entries" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application)...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/admin/add_to_steam_blocklist_spec.rb
spec/requests/api/mutations/admin/add_to_steam_blocklist_spec.rb
require 'rails_helper' RSpec.describe "Add to Steam Blocklist Mutation API", type: :request do describe "Mutation creates the Steam blocklist entry" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/admin/merge_games_spec.rb
spec/requests/api/mutations/admin/merge_games_spec.rb
require 'rails_helper' RSpec.describe "Merge Games Mutation API", type: :request do describe "Mutation merges one game into another" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let(:query_stri...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/platforms/update_platform_spec.rb
spec/requests/api/mutations/platforms/update_platform_spec.rb
require 'rails_helper' RSpec.describe "UpdatePlatform Mutation API", type: :request do describe "Mutation updates an existing platform record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let!(...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/platforms/create_platform_spec.rb
spec/requests/api/mutations/platforms/create_platform_spec.rb
require 'rails_helper' RSpec.describe "CreatePlatform Mutation API", type: :request do describe "Mutation creates a new platform record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let(:query_...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/platforms/delete_platform_spec.rb
spec/requests/api/mutations/platforms/delete_platform_spec.rb
require 'rails_helper' RSpec.describe "DeletePlatform Mutation API", type: :request do describe "Mutation deletes an existing platform record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let!(...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/stores/update_store_spec.rb
spec/requests/api/mutations/stores/update_store_spec.rb
require 'rails_helper' RSpec.describe "UpdateStore Mutation API", type: :request do describe "Mutation updates an existing store record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let!(:store...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/stores/delete_store_spec.rb
spec/requests/api/mutations/stores/delete_store_spec.rb
require 'rails_helper' RSpec.describe "DeleteStore Mutation API", type: :request do describe "Mutation deletes an existing store record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let!(:store...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/stores/create_store_spec.rb
spec/requests/api/mutations/stores/create_store_spec.rb
require 'rails_helper' RSpec.describe "CreateStore Mutation API", type: :request do describe "Mutation creates a new store record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let(:query_string...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/engines/create_engine_spec.rb
spec/requests/api/mutations/engines/create_engine_spec.rb
require 'rails_helper' RSpec.describe "CreateEngine Mutation API", type: :request do describe "Mutation creates a new engine record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let(:query_stri...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/engines/delete_engine_spec.rb
spec/requests/api/mutations/engines/delete_engine_spec.rb
require 'rails_helper' RSpec.describe "DeleteEngine Mutation API", type: :request do describe "Mutation deletes an existing engine record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let!(:eng...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/engines/update_engine_spec.rb
spec/requests/api/mutations/engines/update_engine_spec.rb
require 'rails_helper' RSpec.describe "UpdateEngine Mutation API", type: :request do describe "Mutation updates an existing engine record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let!(:eng...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/games/update_game_spec.rb
spec/requests/api/mutations/games/update_game_spec.rb
require 'rails_helper' RSpec.describe "UpdateGame Mutation API", type: :request do describe "Mutation updates an existing game record" do let(:user) { create(:confirmed_moderator) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.i...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/games/create_game_spec.rb
spec/requests/api/mutations/games/create_game_spec.rb
require 'rails_helper' RSpec.describe "CreateGame Mutation API", type: :request do describe "Mutation creates a game record" do let(:user) { create(:confirmed_moderator) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, applica...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/games/delete_game_spec.rb
spec/requests/api/mutations/games/delete_game_spec.rb
require 'rails_helper' RSpec.describe "DeleteGame Mutation API", type: :request do describe "Mutation deletes an existing game record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let!(:game) {...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/games/unfavorite_game_spec.rb
spec/requests/api/mutations/games/unfavorite_game_spec.rb
require 'rails_helper' RSpec.describe "UnfavoriteGame Mutation API", type: :request do describe "Mutation unfavorites a game" do let(:user) { create(:confirmed_user) } let(:game) { create(:game) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resour...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/games/remove_game_cover_spec.rb
spec/requests/api/mutations/games/remove_game_cover_spec.rb
require 'rails_helper' RSpec.describe "RemoveGameCover Mutation API", type: :request do describe "Mutation removes the game's cover" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let(:query_stri...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/games/favorite_game_spec.rb
spec/requests/api/mutations/games/favorite_game_spec.rb
require 'rails_helper' RSpec.describe "FavoriteGame Mutation API", type: :request do describe "Mutation creates a new favorite game" do let(:user) { create(:confirmed_user) } let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, appl...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/companies/delete_company_spec.rb
spec/requests/api/mutations/companies/delete_company_spec.rb
require 'rails_helper' RSpec.describe "DeleteCompany Mutation API", type: :request do describe "Mutation deletes an existing company record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let!(:c...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/companies/update_company_spec.rb
spec/requests/api/mutations/companies/update_company_spec.rb
require 'rails_helper' RSpec.describe "UpdateCompany Mutation API", type: :request do describe "Mutation updates an existing company record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let!(:c...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/companies/create_company_spec.rb
spec/requests/api/mutations/companies/create_company_spec.rb
require 'rails_helper' RSpec.describe "CreateCompany Mutation API", type: :request do describe "Mutation creates a new company record" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let(:query_st...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/users/import_steam_library_spec.rb
spec/requests/api/mutations/users/import_steam_library_spec.rb
require 'rails_helper' RSpec.describe "ImportSteamLibrary Mutation API", type: :request do describe "Mutation deletes the user" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let(:query_string) d...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/users/reset_user_library_spec.rb
spec/requests/api/mutations/users/reset_user_library_spec.rb
require 'rails_helper' RSpec.describe "ResetUserLibrary Mutation API", type: :request do describe "Mutation deletes the user" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let(:query_string) do ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/users/unban_user_spec.rb
spec/requests/api/mutations/users/unban_user_spec.rb
require 'rails_helper' RSpec.describe "UnbanUser Mutation API", type: :request do describe "Mutation unbans the user" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let(:query_string) do <<...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/users/ban_user_spec.rb
spec/requests/api/mutations/users/ban_user_spec.rb
require 'rails_helper' RSpec.describe "BanUser Mutation API", type: :request do describe "Mutation bans the user" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let(:query_string) do <<-GRA...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/users/delete_user_spec.rb
spec/requests/api/mutations/users/delete_user_spec.rb
require 'rails_helper' RSpec.describe "DeleteUser Mutation API", type: :request do describe "Mutation deletes the user" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let(:query_string) do ...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false
connorshea/vglist
https://github.com/connorshea/vglist/blob/7ff3d360e861a3e224565a7ad941228f5fd462e2/spec/requests/api/mutations/users/disconnect_steam_spec.rb
spec/requests/api/mutations/users/disconnect_steam_spec.rb
require 'rails_helper' RSpec.describe "DisconnectSteam Mutation API", type: :request do describe "Mutation deletes the ExternalAccount" do let(:application) { build(:application, owner: user) } let(:access_token) { create(:access_token, resource_owner_id: user.id, application: application) } let(:query_s...
ruby
MIT
7ff3d360e861a3e224565a7ad941228f5fd462e2
2026-01-04T17:32:52.765079Z
false