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.0.10 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.0.9 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.0.8 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.0.7 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.0.6 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.0.5 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.0.4 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.0.3 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.0.2 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.0.1 spec/fb_graph2/node_subclass_spec.rb