From aa61af6ff5f8dd151c6b7d68f8cd75eac0d2855f Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 18 Dec 2023 17:51:10 +0000 Subject: Got basic index controller test going --- spec/requests/events_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/requests/events_spec.rb b/spec/requests/events_spec.rb index 70f9075..d641507 100644 --- a/spec/requests/events_spec.rb +++ b/spec/requests/events_spec.rb @@ -20,7 +20,7 @@ RSpec.describe "/events", type: :request do let(:valid_attributes) { # skip("Add a hash of attributes valid for your model") # TODO: How to do this?? - Hash.new(Date.new(2023, 1, 10), "Stunner") + { date: Date.new(2023, 1, 10), name: "Stunner" } } let(:invalid_attributes) { -- cgit v1.2.3