lib/gumboot/shared_examples/anonymous_controller.rb in aaf-gumboot-1.0.0.pre.alpha.2 vs lib/gumboot/shared_examples/anonymous_controller.rb in aaf-gumboot-1.1.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
RSpec.shared_examples 'Anon controller' do
controller(described_class) do
def an_action
check_access!('required:permission')
head :ok