require 'rails_helper'

RSpec.describe "games/show", type: :view do
  before(:each) do
    @game = assign(:game, Game.create!(number_of_players: 2))
  end

  it "renders attributes in <p>" do
    render
  end
end

require 'rails_helper'

RSpec.describe "games/show", type: :view do
  before(:each) do
    @game = assign(:game, Game.create!(number_of_players: 2))
    user = assign(:current_user, User.create!(username: "testing"))
    @game.players.create!(user: user, piece: :wheelbarrow)
  end

  it "renders attributes in <p>" do
    render
  end
end

Add specs to pass game view
Add specs to pass game view
