mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
19 lines
416 B
Ruby
19 lines
416 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.describe "user_groups/show", type: :view do
|
|
before(:each) do
|
|
@user_group = assign(:user_group, UserGroup.create!(
|
|
:name => "Name",
|
|
:visibility => "Visibility",
|
|
:members => ""
|
|
))
|
|
end
|
|
|
|
it "renders attributes in <p>" do
|
|
render
|
|
expect(rendered).to match(/Name/)
|
|
expect(rendered).to match(/Visibility/)
|
|
expect(rendered).to match(//)
|
|
end
|
|
end
|