Skip to content

Commit 1f66634

Browse files
committed
Improve coverage for googlecharts.rb file
1 parent 3cb4de9 commit 1f66634

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/adapters/googlecharts_spec.rb

+3
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,8 @@
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 of class Daru::Vector" do
34+
expect(Daru::View::Table.new(@data_vec1, @options).table).to be_a GoogleVisualr::DataTable
35+
end
3336
end
3437
end

0 commit comments

Comments
 (0)