From 8573b40e6fd29907e5d48d5a068b0708b4366b21 Mon Sep 17 00:00:00 2001 From: "Md. Tauhidul Islam" Date: Sun, 8 Feb 2015 00:43:38 +0600 Subject: [PATCH] Add friendly_id to test group in gem file --- Gemfile | 1 + tests/test_app/app/controllers/profiles_controller.rb | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 37823f5..09ab026 100644 --- a/Gemfile +++ b/Gemfile @@ -21,6 +21,7 @@ group :test do gem 'rspec-rails' gem 'simplecov' gem 'systemu' + gem 'friendly_id', '~> 4.0.10.1' end gemspec diff --git a/tests/test_app/app/controllers/profiles_controller.rb b/tests/test_app/app/controllers/profiles_controller.rb index 887186f..a8adf89 100644 --- a/tests/test_app/app/controllers/profiles_controller.rb +++ b/tests/test_app/app/controllers/profiles_controller.rb @@ -2,8 +2,6 @@ class ProfilesController < ApplicationController helper_method :current_user def show - @profile = Profile.friendly.find params[:id] - impressionist(@profile, nil, :unique => [:impressionable_type, :impressionable_id]) end def current_user