spec/lib/danica/function_spec.rb in danica-0.2.0 vs spec/lib/danica/function_spec.rb in danica-0.3.0

- old
+ new

@@ -44,10 +44,10 @@ initial_velocity: { name: :V0, latex: 'V_0' } } end let(:subject) { described_class::Spatial.new(variables) } - let(:expected) { 'S_0 + V_0 \cdot t + \frac{a \cdot t^2}{2}' } + let(:expected) { 'S_0 + V_0 \cdot t + \frac{a \cdot t^{2}}{2}' } it 'return the latex format CAM' do expect(subject.to_tex).to eq(expected) end end