mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-01 09:56:40 -04:00
13 lines
265 B
Ruby
13 lines
265 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
describe Commercial do
|
|
|
|
describe '.find_since_last_login' do
|
|
it 'returns none if last_sign_in_at is nil' do
|
|
expect(Comment.find_since_last_login(create(:user))).to eq(Comment.none)
|
|
end
|
|
end
|
|
end
|