Sha256: 0033c35391db6151281307822f9fbb31815ed4e4f5a634ec4a2926f9c904c8e8
Contents?: true
Size: 581 Bytes
Versions: 11
Compression:
Stored size: 581 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), %w[.. .. spec_helper])) describe Ziya::Charts::Support::Series do before( :each ) do @comp = Ziya::Charts::Support::Series.new end it "should define the correct attribute methods" do lambda{ Ziya::Charts::Support::Series.attributes[@comp.class.name].each { |m| @comp.send( m ) } }.should_not raise_error end it "should flatten component correctly" do xml = Builder::XmlMarkup.new @comp.switch = false @comp.flatten( xml ).should == "<series>false</series>" end end
Version data entries
11 entries across 11 versions & 2 rubygems