Commit e6841e80 authored by Sean Arnold's avatar Sean Arnold

Fix specs to allow any ee fields

parent 5880d259
......@@ -14,7 +14,7 @@ RSpec.describe Admin::UserEntity do
subject { entity.as_json&.keys }
it 'exposes correct attributes' do
is_expected.to contain_exactly(
is_expected.to include(
:id,
:name,
:created_at,
......
......@@ -9,7 +9,7 @@ RSpec.describe Admin::UserSerializer do
context 'when there is a single object provided' do
it 'contains important elements for the admin user table' do
is_expected.to contain_exactly(
is_expected.to include(
:id,
:name,
:created_at,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment