Sha256: 990d81012f72a11f2ad2ceb7ee0410095e6a66466237d964f6b67550179602b9
Contents?: true
Size: 852 Bytes
Versions: 59
Compression:
Stored size: 852 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe RaveEmbed::WavePanel do describe "with custom site wide configuration" do before do class_instance = RaveEmbed::WavePanel class_instance.g_root_url = "http://mywave.acme.com" class_instance.g_dom_id = 'give_me_a_dom_id' class_instance.g_bg_color = 'green' class_instance.g_color = 'white' class_instance.g_font = 'Arial' class_instance.g_font_size = '12pt' class_instance.g_is_public = true class_instance.g_width = '800px' class_instance.g_height = '90%' class_instance.g_jquery = true @wave_panel = class_instance.new('my_id') end it "produces an html/javascript tag with all site-wide configs" do @wave_panel.to_html.should == load_fixture('fully_configured.html') end end end
Version data entries
59 entries across 59 versions & 1 rubygems