Sha256: 1103ebef3e87b4a9f27406598d1b3a0dbbed244b09b247546e473eef33ed1712
Contents?: true
Size: 488 Bytes
Versions: 6
Compression:
Stored size: 488 Bytes
Contents
require_relative '../../../spec_helper' describe "the DSL for setting configuration values" do it "should process any call by setting the value directly on Tabulous::Config" do Tabulous::Config.text_color = 'blue' Tabulous::Config.active_tab_clickable = false Tabulous::Dsl::Config.process do text_color 'red' active_tab_clickable true end Tabulous::Config.text_color.should == 'red' Tabulous::Config.active_tab_clickable.should == true end end
Version data entries
6 entries across 6 versions & 1 rubygems