diff options
author | Matthew Lemon <y@yulqen.org> | 2023-12-20 17:34:26 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-12-20 17:34:40 +0000 |
commit | 09064bb219279162ba3f84b6287247f9a654dc6c (patch) | |
tree | 1e314b83f5bf85e46a521cb4970b2d05c7bf5af2 /spec/requests/events_spec.rb | |
parent | d5f5c3d7f2d92c180c56053c994a148afd63118a (diff) |
Properly configures factory_bot and adds Faker
Diffstat (limited to 'spec/requests/events_spec.rb')
-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 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) { |