Commit 6a4f8b997c9aa5866a98554aeb7718fd3b5ebe0e
1 parent
31e51dd1
Exists in
master
and in
4 other branches
fix specs
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
spec/requests/admin/admin_projects_spec.rb
@@ -26,7 +26,7 @@ describe "Admin::Projects" do | @@ -26,7 +26,7 @@ describe "Admin::Projects" do | ||
26 | describe "GET /admin/projects/:id" do | 26 | describe "GET /admin/projects/:id" do |
27 | before do | 27 | before do |
28 | visit admin_projects_path | 28 | visit admin_projects_path |
29 | - click_link "Show" | 29 | + click_link "#{@project.name}" |
30 | end | 30 | end |
31 | 31 | ||
32 | it "should have project info" do | 32 | it "should have project info" do |
spec/requests/admin/admin_users_spec.rb
@@ -57,7 +57,7 @@ describe "Admin::Users" do | @@ -57,7 +57,7 @@ describe "Admin::Users" do | ||
57 | describe "GET /admin/users/:id" do | 57 | describe "GET /admin/users/:id" do |
58 | before do | 58 | before do |
59 | visit admin_users_path | 59 | visit admin_users_path |
60 | - click_link "Show" | 60 | + click_link "#{@user.name}" |
61 | end | 61 | end |
62 | 62 | ||
63 | it "should have user info" do | 63 | it "should have user info" do |