We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42d1232 commit 2c86c97Copy full SHA for 2c86c97
spec/models/partner_spec.rb
@@ -52,14 +52,13 @@
52
# end
53
54
55
-
56
it 'fires send_email method as after_create method callbacks' do
57
expect(subject).to receive(:register_on_partnerbase)
58
subject.run_callbacks(:create)
59
end
60
61
describe "import_csv" do
62
- let(:organization) {create(:organization)}
+ let(:organization) { create(:organization) }
63
64
it "imports storage locations from a csv file" do
65
before_import = Partner.count
@@ -74,7 +73,7 @@
74
73
data = File.read(import_file_path, encoding: "BOM|UTF-8")
75
expect do
76
Partner.import_csv(data, organization.id)
77
- end.to change {Partner.count}.by(20)
+ end.to change { Partner.count }.by(20)
78
79
80
0 commit comments