Commit 6a4f8b99 authored by Saito's avatar Saito

fix specs

parent 31e51dd1
......@@ -26,7 +26,7 @@ describe "Admin::Projects" do
describe "GET /admin/projects/:id" do
before do
visit admin_projects_path
click_link "Show"
click_link "#{@project.name}"
end
it "should have project info" do
......
......@@ -57,7 +57,7 @@ describe "Admin::Users" do
describe "GET /admin/users/:id" do
before do
visit admin_users_path
click_link "Show"
click_link "#{@user.name}"
end
it "should have user info" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment