Sha256: a49d1084adddebde0e35788e343df825d5d6dc2fca6870942bbc5115e49534ae
Contents?: true
Size: 762 Bytes
Versions: 2
Compression:
Stored size: 762 Bytes
Contents
require 'spec_helper' describe FbGraph2::Node do let(:klass) { FbGraph2::Node } let(:instance) { klass.new 'identifier' } context 'class' do subject { klass } it { should_not respond_to :register_attributes } it { should_not respond_to :registered_attributes } it { should_not respond_to :registered_attributes= } end context 'instance' do subject { instance } it { should_not respond_to :assign } describe '#initialize' do its(:id) { should == 'identifier' } its(:access_token) { should be_nil } its(:raw_attributes) { should be_nil } end describe '#authenticate' do before { instance.authenticate 'access_token' } its(:access_token) { should == 'access_token' } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fb_graph2-0.0.2 | spec/fb_graph2/node_spec.rb |
fb_graph2-0.0.1 | spec/fb_graph2/node_spec.rb |