@Prakriti, Meanwhile you try to improve your testcases. Understand how it is written in Nyaplot, lazy_high_charts, google_visualr gem. Check the coverage report for googlecharts, highcharts adapter in daru-view and try to make it +90% (may be in separate PR).
daru-view is plugin gem for daru, so you must have specs where data as daru dataframe/vector . Don’t just use the
#chart.options to set the options all the time. Use
Daru::View::Plot.new(data, options) , and this object for plotting and it’s instance methods to test.