Skip to content

Commit 76f2868

Browse files
committed
Improve test coverage for googlecharts.rb
1 parent 3cb4de9 commit 76f2868

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/adapters/googlecharts_spec.rb

+4
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,9 @@
3030
it "Table class must be GoogleVisualr::DataTable " do
3131
expect(Daru::View::Table.new.table).to be_a GoogleVisualr::DataTable
3232
end
33+
it "Table class must be GoogleVisualr::DataTable when data objects are" \
34+
" of class Daru::Vector" do
35+
expect(Daru::View::Table.new(@data_vec1, @options).table).to be_a GoogleVisualr::DataTable
36+
end
3337
end
3438
end

0 commit comments

Comments
 (0)