Sha256: a0274c7ae1c2b2ae824c4827bc5b3eb959e350e01985d5bdbac97eba1e19383f
Contents?: true
Size: 1.46 KB
Versions: 7
Compression:
Stored size: 1.46 KB
Contents
require 'simplecov' SimpleCov.start require "json" require "rspec/its" require_relative "../lib/triviacrack/category_statistics" require_relative "../lib/triviacrack/game" require_relative "../lib/triviacrack/game_statistics" require_relative "../lib/triviacrack/profile" require_relative "../lib/triviacrack/question" require_relative "../lib/triviacrack/session" require_relative "../lib/triviacrack/user" require_relative "../lib/triviacrack/api/client" require_relative "../lib/triviacrack/api/game" require_relative "../lib/triviacrack/api/login" require_relative "../lib/triviacrack/api/profile" require_relative "../lib/triviacrack/api/question" require_relative "../lib/triviacrack/api/user" require_relative "../lib/triviacrack/errors/parse_error" require_relative "../lib/triviacrack/errors/request_error" require_relative "../lib/triviacrack/parsers/category_statistics_parser" require_relative "../lib/triviacrack/parsers/game_parser" require_relative "../lib/triviacrack/parsers/game_statistics_parser" require_relative "../lib/triviacrack/parsers/profile_parser" require_relative "../lib/triviacrack/parsers/question_parser" require_relative "../lib/triviacrack/parsers/session_parser" require_relative "../lib/triviacrack/parsers/user_parser" class SpecData def self.get(filename) file = File.read(File.expand_path("../data/#{filename}", __FILE__)) JSON.parse(file) end end class APIStub def initialize(session = nil) @session = session end end
Version data entries
7 entries across 7 versions & 1 rubygems