Sha256: b4a15bbc29703d2a8b5abb75b81a32768d13f0dcbfd4ff003a5f7a2e44b3ddc1

Contents?: true

Size: 499 Bytes

Versions: 30

Compression:

Stored size: 499 Bytes

Contents

require 'spec_helper'

module FbGraph2
  class NodeSubClass < Node
  end
end

describe FbGraph2::NodeSubClass do
  let(:klass) { FbGraph2::NodeSubClass }
  let(:instance) { klass.new 'identifier' }

  context 'class' do
    subject { klass }
    it { should respond_to :register_attributes }
    it { should respond_to :registered_attributes }
    it { should respond_to :registered_attributes= }
  end

  context 'instance' do
    subject { instance }
    it { should respond_to :assign }
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
fb_graph2-0.6.2 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.6.1 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.6.0 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.5.3 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.5.2 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.5.1 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.5.0 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.4.4 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.4.3 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.4.1 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.4.0 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.3.2 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.3.1 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.3.0 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.2.0 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.1.3 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.1.2 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.1.1 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.1.0 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.0.11 spec/fb_graph2/node_subclass_spec.rb