# frozen_string_literal: true require "test_helper" class DiceRollingTest < ActionDispatch::IntegrationTest test "rolling a stat should create a dice roll" do assert_changes("DiceRoll.count", +1) do stats(:strength).roll(tables(:dnd_table)) end end end