Skip to content

Commit ea79c25

Browse files
committed
Fix RSpec/Output cop violations in spec files
1 parent 6e2c246 commit ea79c25

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

spec/models/grouping_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@
131131
end
132132
grouping1 = groupings.select { |grouping| grouping.tas.first == tas.first }
133133
grouping2 = groupings.select { |grouping| grouping.tas.first == tas.last }
134-
print(grouping2.length, grouping1.length)
135134
expect(grouping1.length > grouping2.length).to be(true)
136135
end
137136

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
begin
3838
ActiveRecord::Migration.maintain_test_schema!
3939
rescue ActiveRecord::PendingMigrationError => e
40-
puts e.to_s.strip
40+
warn e.to_s.strip
4141
exit 1
4242
end
4343

0 commit comments

Comments
 (0)