From 7ff2df60b07976417666a9557527c0e0487ce3a4 Mon Sep 17 00:00:00 2001 From: Brandon Dunne Date: Fri, 31 Mar 2017 12:21:08 -0400 Subject: [PATCH] Remove require rails_helper :scissors: :fire: Not really sure why it was added... --- spec/lib/miq_expression/count_field_spec.rb | 2 -- spec/lib/miq_expression/field_spec.rb | 2 -- spec/lib/miq_expression/tag_spec.rb | 2 -- spec/models/chargeable_field_spec.rb | 2 -- spec/models/cloud_service_spec.rb | 2 -- spec/models/entitlement_spec.rb | 2 -- 6 files changed, 12 deletions(-) diff --git a/spec/lib/miq_expression/count_field_spec.rb b/spec/lib/miq_expression/count_field_spec.rb index bb18ee8be93..f0d775ffad9 100644 --- a/spec/lib/miq_expression/count_field_spec.rb +++ b/spec/lib/miq_expression/count_field_spec.rb @@ -1,5 +1,3 @@ -require "rails_helper" - RSpec.describe MiqExpression::CountField do describe '.parse' do it 'parses field model.has_many_associations with valid format' do diff --git a/spec/lib/miq_expression/field_spec.rb b/spec/lib/miq_expression/field_spec.rb index 80b1f90d164..b1b021ff53e 100644 --- a/spec/lib/miq_expression/field_spec.rb +++ b/spec/lib/miq_expression/field_spec.rb @@ -1,5 +1,3 @@ -require "rails_helper" - RSpec.describe MiqExpression::Field do describe ".parse" do it "can parse the model name" do diff --git a/spec/lib/miq_expression/tag_spec.rb b/spec/lib/miq_expression/tag_spec.rb index 2c36ca88e83..cf46c7e488e 100644 --- a/spec/lib/miq_expression/tag_spec.rb +++ b/spec/lib/miq_expression/tag_spec.rb @@ -1,5 +1,3 @@ -require "rails_helper" - RSpec.describe MiqExpression::Tag do describe ".parse" do it "with model.managed-in_tag" do diff --git a/spec/models/chargeable_field_spec.rb b/spec/models/chargeable_field_spec.rb index 3bea89ef312..17c5a1d9a86 100644 --- a/spec/models/chargeable_field_spec.rb +++ b/spec/models/chargeable_field_spec.rb @@ -1,5 +1,3 @@ -require 'rails_helper' - RSpec.describe ChargeableField, :type => :model do describe '#rate_name' do let(:source) { 'used' } diff --git a/spec/models/cloud_service_spec.rb b/spec/models/cloud_service_spec.rb index 8cf53e4d91c..4587e6c8a65 100644 --- a/spec/models/cloud_service_spec.rb +++ b/spec/models/cloud_service_spec.rb @@ -1,5 +1,3 @@ -require 'rails_helper' - RSpec.describe CloudService, :type => :model do let(:cloud_service) do FactoryGirl.create(:cloud_service).tap do |cs| diff --git a/spec/models/entitlement_spec.rb b/spec/models/entitlement_spec.rb index d94479eeeb9..ca7c7377ef5 100644 --- a/spec/models/entitlement_spec.rb +++ b/spec/models/entitlement_spec.rb @@ -1,5 +1,3 @@ -require 'rails_helper' - describe Entitlement do describe "::remove_tag_from_all_managed_filters" do let!(:entitlement1) { FactoryGirl.create(:entitlement) }