diff --git a/spec/views/wobauth/roles/index.html.erb_spec.rb b/spec/views/wobauth/roles/index.html.erb_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/views/wobauth/roles/index.html.erb_spec.rb
+++ b/spec/views/wobauth/roles/index.html.erb_spec.rb
@@ -1,19 +1,16 @@
 require 'rails_helper'
 
-RSpec.describe "roles/index", type: :view do
+RSpec.describe "wobauth/roles/index", type: :view do
   before(:each) do
     assign(:roles, [
-      Role.create!(
-        :name => "Name"
-      ),
-      Role.create!(
-        :name => "Name"
-      )
+      FactoryBot.create(:role, name: "XYZ"),
+      FactoryBot.create(:role, name: "ABC"),
     ])
   end
 
   it "renders a list of roles" do
     render
-    assert_select "tr>td", :text => "Name".to_s, :count => 2
+    assert_select "tr>td", :text => "XYZ".to_s, :count => 1
+    assert_select "tr>td", :text => "ABC".to_s, :count => 1
   end
 end
rewrite, but url_helper doesn't work