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

Version Path
netzke-core-0.7.7 test/core_test_app/spec/component/javascript_spec.rb
netzke-core-0.7.6 test/core_test_app/spec/component/javascript_spec.rb
netzke-core-0.7.5 test/core_test_app/spec/component/javascript_spec.rb
netzke-core-0.7.4 test/core_test_app/spec/component/javascript_spec.rb
netzke-core-0.7.3 test/core_test_app/spec/component/javascript_spec.rb
netzke-core-0.7.2 test/core_test_app/spec/component/javascript_spec.rb
netzke-core-0.7.1 test/rails_app/spec/component/javascript_spec.rb
netzke-core-0.6.7 test/rails_app/spec/component/javascript_spec.rb
netzke-core-0.7.0 test/rails_app/spec/component/javascript_spec.rb
netzke-core-0.6.6 spec/component/javascript_spec.rb
netzke-core-0.6.5 spec/component/javascript_spec.rb