Skip to content

Commit 2c86c97

Browse files
committed
Rubocop fixes
1 parent 42d1232 commit 2c86c97

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spec/models/partner_spec.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,13 @@
5252
# end
5353
# end
5454

55-
5655
it 'fires send_email method as after_create method callbacks' do
5756
expect(subject).to receive(:register_on_partnerbase)
5857
subject.run_callbacks(:create)
5958
end
6059

6160
describe "import_csv" do
62-
let(:organization) {create(:organization)}
61+
let(:organization) { create(:organization) }
6362

6463
it "imports storage locations from a csv file" do
6564
before_import = Partner.count
@@ -74,7 +73,7 @@
7473
data = File.read(import_file_path, encoding: "BOM|UTF-8")
7574
expect do
7675
Partner.import_csv(data, organization.id)
77-
end.to change {Partner.count}.by(20)
76+
end.to change { Partner.count }.by(20)
7877
end
7978
end
8079
end

0 commit comments

Comments
 (0)