add very important spec
This commit is contained in:
parent
434d176ebe
commit
58a3b89d67
|
@ -103,6 +103,12 @@ RSpec.describe User, type: :model do
|
|||
include_examples "invalid email", "fritz.fantom@protonmail"
|
||||
end
|
||||
|
||||
describe "#to_param" do
|
||||
subject { me.to_param }
|
||||
|
||||
it { is_expected.to eq me.screen_name }
|
||||
end
|
||||
|
||||
# -- User::TimelineMethods --
|
||||
|
||||
shared_examples_for "result is blank" do
|
||||
|
|
Loading…
Reference in New Issue