spec/game_spec.rb in triviacrack-0.6.0 vs spec/game_spec.rb in triviacrack-0.7.0
- old
+ new
@@ -1,13 +1,13 @@
-require_relative "spec_helper"
+# frozen_string_literal: true
-describe TriviaCrack::Game do
+require_relative 'spec_helper'
+describe TriviaCrack::Game do
let(:game_id) { 1111 }
let(:game) { TriviaCrack::Game.new id: game_id, my_turn: my_turn, game_status: game_status }
- describe "#playable?" do
-
+ describe '#playable?' do
subject { game.playable? }
context 'when the game status is active' do
let(:game_status) { :active }