diff options
author | Matthew Lemon <y@yulqen.org> | 2023-12-18 17:51:10 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-12-18 17:51:10 +0000 |
commit | aa61af6ff5f8dd151c6b7d68f8cd75eac0d2855f (patch) | |
tree | 4ff29874f968bad7d017327e33ae7c2444bce859 | |
parent | 357960603604ba5dcd9e22c74bc6cbd26f3c7ae4 (diff) |
Got basic index controller test going
-rw-r--r-- | spec/requests/events_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |