spec/integration/readme/constant_spec.rb in danica-2.7.4 vs spec/integration/readme/constant_spec.rb in danica-2.7.5
- old
+ new
@@ -1,10 +1,13 @@
+# frozen_string_literal: true
+
require 'spec_helper'
describe Danica::Wrapper::Constant do
subject do
- Danica::Wrapper::Constant.new(gnuplot: 'pi', latex: '\pi', value: 3.141592)
+ described_class.new(gnuplot: 'pi', latex: '\pi', value: 3.141592)
end
+
let(:output) do
{
tex: '\pi',
gnu: 'pi',
f: 3.141592