diff options
author | Saito <saitowu@gmail.com> | 2011-11-22 11:55:01 +0400 |
---|---|---|
committer | Saito <saitowu@gmail.com> | 2011-11-22 11:55:01 +0400 |
commit | 6a4f8b997c9aa5866a98554aeb7718fd3b5ebe0e (patch) | |
tree | 2393de56681324f8094c23eb7d0a76cbb6676fa0 /spec/requests/admin | |
parent | 31e51dd1162c99bc2a4c710309eb7866be1a9945 (diff) |
fix specs
Diffstat (limited to 'spec/requests/admin')
-rw-r--r-- | spec/requests/admin/admin_projects_spec.rb | 2 | ||||
-rw-r--r-- | spec/requests/admin/admin_users_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/admin/admin_projects_spec.rb b/spec/requests/admin/admin_projects_spec.rb index fd8703ec06a..ffa65fc255b 100644 --- a/spec/requests/admin/admin_projects_spec.rb +++ b/spec/requests/admin/admin_projects_spec.rb @@ -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 diff --git a/spec/requests/admin/admin_users_spec.rb b/spec/requests/admin/admin_users_spec.rb index 04500017451..aa78db99f42 100644 --- a/spec/requests/admin/admin_users_spec.rb +++ b/spec/requests/admin/admin_users_spec.rb @@ -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 |