From a3aef16d5ccc44ab220be91efd41be96824a4823 Mon Sep 17 00:00:00 2001 From: Grayson Wright Date: Sun, 8 Nov 2015 14:03:26 -0800 Subject: [PATCH] Fix PR suggestions --- spec/generators/dashboard_generator_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/generators/dashboard_generator_spec.rb b/spec/generators/dashboard_generator_spec.rb index 64da61ec97..5ced23aad7 100644 --- a/spec/generators/dashboard_generator_spec.rb +++ b/spec/generators/dashboard_generator_spec.rb @@ -69,7 +69,8 @@ class Foo < ActiveRecord::Base load file("app/dashboards/foo_dashboard.rb") attrs = FooDashboard::ATTRIBUTE_TYPES - expect(attrs[:ip_address]).to eq(Administrate::Field::String.with_options(searchable: false)) + expect(attrs[:ip_address]). + to eq(Administrate::Field::String.with_options(searchable: false)) ensure remove_constants :Foo, :FooDashboard end