test/test_analysis.rb in statsample-1.4.3 vs test/test_analysis.rb in statsample-1.5.0
- old
+ new
@@ -37,10 +37,10 @@
Statsample::Analysis.add_to_reportbuilder(rb, :first, :second)
end
should 'to_text returns the same as a normal ReportBuilder object' do
rb = ReportBuilder.new(name: :test)
section = ReportBuilder::Section.new(name: 'first')
- a = [1, 2, 3].to_scale
+ a = [1, 2, 3].to_numeric
section.add('first')
section.add(a)
rb.add(section)
exp = rb.to_text
an = ss_analysis(:first) {