Sha256: 10ab33e4a4a5720ff576ff5bedb2eaaed8acdb7590fc2f669a3fad3eca56fd3e
Contents?: true
Size: 788 Bytes
Versions: 25
Compression:
Stored size: 788 Bytes
Contents
require File.join(File.dirname(__FILE__), '../spec_helper') describe FbGraph::Application, '.new' do it 'should setup all supported attributes' do attributes = { :id => '12345', :name => 'FbGraph', :description => 'Owsome Facebook Graph Wrapper', :category => 'Programming', :link => 'http://github.com/nov/fb_graph', :secret => 'sec sec' } app = FbGraph::Application.new(attributes.delete(:id), attributes) app.identifier.should == '12345' app.name.should == 'FbGraph' app.description.should == 'Owsome Facebook Graph Wrapper' app.category.should == 'Programming' app.link.should == 'http://github.com/nov/fb_graph' app.secret.should == 'sec sec' end end
Version data entries
25 entries across 25 versions & 2 rubygems