Skip to content

Commit

Permalink
Merge pull request #461 from CocoaPods/amorde/specs
Browse files Browse the repository at this point in the history
Fix specs
  • Loading branch information
amorde authored Oct 22, 2023
2 parents 7eac15f + a753f4e commit f9faab2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion spec/functional/claims_controller_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require File.expand_path('../spec_helper', __dir__)

module Pod::TrunkApp
describe ClaimsController, 'concerning disputes' do
describe ClaimsController, 'concerning disputes' do
before do
@owner = Owner.create(:email => 'jenny@example.com', :name => 'Jenny Penny')
@pod = @owner.add_pod(:name => 'AFNetworking')
Expand Down
8 changes: 2 additions & 6 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,8 @@ def connect

require 'valid_mx_records'
module ValidMXRecords
def valid_mx_records?(address)
if address == Pod::TrunkApp::Owner::UNCLAIMED_OWNER_EMAIL || address.split('@').last == 'example.com'
true
else
false
end
def self.valid_mx_records?(address)
address == Pod::TrunkApp::Owner::UNCLAIMED_OWNER_EMAIL || address.split('@').last == 'example.com'
end
end

Expand Down

0 comments on commit f9faab2

Please sign in to comment.