Sha256: 28eef14f39ab1e776ef40c5567ec6b281659d8dbf4bd42c78e9ef0185aaa9a42
Contents?: true
Size: 591 Bytes
Versions: 6
Compression:
Stored size: 591 Bytes
Contents
require 'rails_helper' shared_examples_for "belongs_to_spud_user_session" do |related_model_factory| describe '.for_user' do it 'should return all records for the given user' it 'should not return any records of the given user is nil' end describe '.for_session' do it 'should return all records for the given session_id' it 'should not return any records of the given session_id is nil' end describe '#belongs_to?' do it 'should return true if the user matches' it 'should return true if the session_id matches' it 'should return false' end end
Version data entries
6 entries across 6 versions & 1 rubygems