aboutsummaryrefslogtreecommitdiffstats
path: root/spec/requests
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests')
-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) {