diff --git a/spec/requests/user_request_spec.rb b/spec/requests/user_request_spec.rb index d7613d47..2265a7d3 100644 --- a/spec/requests/user_request_spec.rb +++ b/spec/requests/user_request_spec.rb @@ -7,6 +7,6 @@ RSpec.describe "user page", :type => :request do it 'shows the user page' do get "/@#{@user.screen_name}" - assert_select "h3.text-muted", :text => @user.screen_name + assert_select ".user-username", :text => @user.screen_name end end