Skip to content

Commit 816cd38

Browse files
authored
Add missing spec coverage for related resources operations (#144)
I discovered that this simple scenario wasn't tested properly when working on JR 0.10 support
1 parent 6cd9c9d commit 816cd38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/requests/related_resources_operations_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666

6767
context 'authorized for show_related_resource' do
6868
before { allow_operation('show_related_resource', source_record: article, related_record: article.author) }
69+
it { is_expected.to be_ok }
6970

7071
# If this happens in real life, it's mostly a bug. We want to document the
7172
# behaviour in that case anyway, as it might be surprising.

0 commit comments

Comments
 (0)