Sha256: 7493352f58df029c899ae98497793f0c06f57621ebb35a9e2512d9b07f1720f3
Contents?: true
Size: 341 Bytes
Versions: 2
Compression:
Stored size: 341 Bytes
Contents
require 'spec_helper' describe Guilded::Component do let :component do described_class.new :flash_growler, :position => :bottom, :delay => 4000 end it "should produce the correct javascript initializer" do component.javascript_initializer.should == "g.initFlashGrowler({\"position\":\"bottom\",\"delay\":4000});" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
guilded-2.0.0 | spec/guilded/component_spec.rb |
guilded-2.0.0.pre | spec/guilded/component_spec.rb |