Sha256: 4e538fdd744a168705d1803e5967738efaa3b611b8560e763960bd600c7952ca

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 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 }
  end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fb_graph2-0.7.1 spec/fb_graph2/node_subclass_spec.rb
fb_graph2-0.7.0 spec/fb_graph2/node_subclass_spec.rb