Skip to content

Instantly share code, notes, and snippets.

@tarynsauer
Last active January 2, 2016 00:59
Show Gist options
  • Save tarynsauer/8227069 to your computer and use it in GitHub Desktop.
Save tarynsauer/8227069 to your computer and use it in GitHub Desktop.
require 'simplecov'
SimpleCov.start
require 'sinatra'
require 'rack/test' # Require Rack Test library
require 'ruby_ttt'
require 'web_board'
require 'web_game'
require 'web_game_setup'
require './game_helpers.rb'
require './app.rb'
set :environment, :test
def app # Define app
TicTacToe.new
end
RSpec.configure do |config|
config.color_enabled = true
config.tty = true
config.formatter = :documentation
config.include Rack::Test::Methods # Include mixin
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment