aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-12-18 17:51:10 +0000
committerMatthew Lemon <y@yulqen.org>2023-12-18 17:51:10 +0000
commitaa61af6ff5f8dd151c6b7d68f8cd75eac0d2855f (patch)
tree4ff29874f968bad7d017327e33ae7c2444bce859
parent357960603604ba5dcd9e22c74bc6cbd26f3c7ae4 (diff)
Got basic index controller test going
-rw-r--r--spec/requests/events_spec.rb2
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) {