Sha256: 4317fba2cd620f59c9df5bb7ac91d5cd9b02466361f1573bdce633d8709b003a
Contents?: true
Size: 468 Bytes
Versions: 11
Compression:
Stored size: 468 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' require 'netzke-core' module Netzke describe Javascript do class SomeComponent < Base end class InheritedComponent < SomeComponent end it "should be indicated by extends_netzke_component? if we're extending a Netzke component" do SomeComponent.send(:"extends_netzke_component?").should == false InheritedComponent.send(:"extends_netzke_component?").should == true end end end
Version data entries
11 entries across 11 versions & 1 rubygems