aboutsummaryrefslogtreecommitdiffstats
path: root/spec/requests/events_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/events_spec.rb')
-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 96183ae..a3f9f96 100644
--- a/spec/requests/events_spec.rb
+++ b/spec/requests/events_spec.rb
@@ -19,7 +19,7 @@ RSpec.describe "/events", type: :request do
# adjust the attributes here as well.
let(:valid_attributes) {
# skip("Add a hash of attributes valid for your model")
- build :event.attributes # build uses the factory and attributes converts to a hash....
+ build(:event).attributes # build uses the factory and attributes converts to a hash....
}
let(:invalid_attributes) {