spec/lib/under_os/ui/switch_spec.rb in under-os-1.1.0 vs spec/lib/under_os/ui/switch_spec.rb in under-os-1.2.0
- old
+ new
@@ -1,9 +1,13 @@
describe UnderOs::UI::Switch do
before do
@switch = UnderOs::UI::Switch.new
end
+ it "inherits fromthe UnderOs::UI::Input" do
+ (UnderOs::UI::Switch < UnderOs::UI::Input).should == true
+ end
+
describe '#initialize' do
it "should spawn new switchs" do
@switch.class.should == UnderOs::UI::Switch
end