Sha256: 172e5351086d0cec53db300b7561910f9331a56f1424b3ba49badb7da21feca3
Contents?: true
Size: 277 Bytes
Versions: 11
Compression:
Stored size: 277 Bytes
Contents
# frozen_string_literal: true # spec/support/request_spec_helper module RequestSpecHelper # Parse JSON response to ruby hash def resp_json JSON.parse(response.body, symbolize_names: true) end def current_user @current_user ||= create(:current_user) end end
Version data entries
11 entries across 11 versions & 1 rubygems