spec/lib/danica/variable_spec.rb in danica-0.2.0 vs spec/lib/danica/variable_spec.rb in danica-0.3.0
- old
+ new
@@ -8,10 +8,12 @@
context 'when variable has value' do
let(:value) { 100 }
let(:subject) { described_class.new(value: value) }
- it { expect(subject.to_f).to eq(value) }
+ it 'returns the value' do
+ expect(subject.to_f).to eq(value)
+ end
end
end
describe 'to_tex' do
let(:name) { :delta }