mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 19:59:07 +01:00
12 lines
253 B
Ruby
12 lines
253 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.describe "user page", :type => :request do
|
|
before do
|
|
@user = create(:user)
|
|
end
|
|
|
|
it 'shows the user page' do
|
|
get "/@#{@user.screen_name}"
|
|
assert_select "h3.text-muted", :text => @user.screen_name
|
|
end
|
|
end
|