Sha256: 30bbc084d020f84440ada34410e7bf24f27456a2f2088d380e624de091e0f747

Contents?: true

Size: 460 Bytes

Versions: 8

Compression:

Stored size: 460 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe Orange::AdminResource do
  before(:all) do
  end
  it "should have a function for returning list of links" do
    a = Orange::AdminResource.new
    a.set_orange(Orange::Core.new, :admin)
    a.links(empty_packet)
  end
  it "should be have an add_link function" do
    a = Orange::AdminResource.new
    a.set_orange(Orange::Core.new, :admin)
    a.add_link('Content', {})
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
orange-0.0.13 spec/orange/resources/admin_resource_spec.rb
orange-0.0.12 spec/orange/resources/admin_resource_spec.rb
orange-0.0.10 spec/orange/resources/admin_resource_spec.rb
orange-0.0.8 spec/orange/resources/admin_resource_spec.rb
orange-0.0.7 spec/orange/resources/admin_resource_spec.rb
orange-0.0.6 spec/orange/resources/admin_resource_spec.rb
orange-0.0.5 spec/orange/resources/admin_resource_spec.rb
orange-0.0.4 spec/orange/resources/admin_resource_spec.rb