Sha256: 2f581a83ae3e2194b5fc8ce9ade5ac3b8fb79474ae02533a97895c8907492c1b

Contents?: true

Size: 295 Bytes

Versions: 3

Compression:

Stored size: 295 Bytes

Contents

RSpec.describe Symphonia::User do
  subject { FactoryBot.create(:user, email: "test@dummy.com") }
  it "#like" do
    expect(Symphonia::User.like(subject.mail)).to be_all Symphonia::User
  end

  it "#to_s" do
    expect(subject.to_s).to eq "#{subject.first_name} #{subject.last_name}"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
symphonia-2.2.1 spec/models/user_spec.rb
symphonia-2.1.8 spec/models/user_spec.rb
symphonia-2.1.7 spec/models/user_spec.rb