Files
manyfold/spec/models/creator_spec.rb
T

11 lines
246 B
Ruby
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
require "rails_helper"
RSpec.describe Creator do
it_behaves_like "Followable"
it "automatically generates a slug from the name" do
creator = create(:creator, name: "Spın̈al Tap")
expect(creator.slug).to eq "spin-al-tap"
end
end