fix specs

This commit is contained in:
Saito 2011-11-22 15:55:01 +08:00
parent 31e51dd116
commit 6a4f8b997c
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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