From 3063c6106a83102214deb9d86ec621c0bb85d4b7 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Wed, 30 Apr 2014 16:09:32 -0400 Subject: [PATCH] Fix tests to work with new css/layout. --- apps/workbench/app/views/folders/show.html.erb | 2 +- .../workbench/app/views/layouts/application.html.erb | 4 +--- apps/workbench/test/integration/smoke_test.rb | 2 +- apps/workbench/test/integration/users_test.rb | 10 +++++----- .../test/integration/virtual_machines_test.rb | 4 ++-- services/api/test/fixtures/specimens.yml | 12 ++++++++++++ 6 files changed, 22 insertions(+), 12 deletions(-) diff --git a/apps/workbench/app/views/folders/show.html.erb b/apps/workbench/app/views/folders/show.html.erb index c02c48b921..da848b25f6 100644 --- a/apps/workbench/app/views/folders/show.html.erb +++ b/apps/workbench/app/views/folders/show.html.erb @@ -171,7 +171,7 @@ - <%= raw distance_of_time_in_words(object.modified_at, Time.now).sub('about ','~').sub(' ',' ') + ' ago' %> + <%= raw distance_of_time_in_words(object.modified_at, Time.now).sub('about ','~').sub(' ',' ') + ' ago' rescue object.modified_at %> diff --git a/apps/workbench/app/views/layouts/application.html.erb b/apps/workbench/app/views/layouts/application.html.erb index a1738b43ac..84579d9eeb 100644 --- a/apps/workbench/app/views/layouts/application.html.erb +++ b/apps/workbench/app/views/layouts/application.html.erb @@ -105,7 +105,7 @@ Repositories
  • - Virtual machines + Virtual machines
  • <% if current_user.andand.is_admin %>
  • @@ -124,8 +124,6 @@ <% end %> - -