Sha256: 5b28b71d29de3b96582ab68181eb79552b29e02352a20c06b95f82571a1741c0

Contents?: true

Size: 1021 Bytes

Versions: 6

Compression:

Stored size: 1021 Bytes

Contents

require 'test_helper'

class RapidshareExtTest < Test::Unit::TestCase
  context "Interface" do
    should "Respond to certain methods" do
      assert_respond_to @rs, :add_folder
      assert_respond_to @rs, :remove_folder
      assert_respond_to @rs, :move_folder
      assert_respond_to @rs, :upload
      assert_respond_to @rs, :remove_file
      assert_respond_to @rs, :rename_file
      assert_respond_to @rs, :folders_hierarchy
      assert_respond_to @rs, :folders_hierarchy!
      assert_respond_to @rs, :slice_tree
      assert_respond_to @rs, :remove_orphans!
      assert_respond_to @rs, :move_orphans
      assert_respond_to @rs, :detect_gaps
      assert_respond_to @rs, :erase_all_data!
      assert_respond_to @rs, :root_folder?
      assert_respond_to @rs, :gap?
      assert_respond_to @rs, :orphan?
      assert_respond_to @rs, :folder_path
      assert_respond_to @rs, :folder_id
      assert_respond_to @rs, :file_info
      assert_respond_to @rs, :file_id
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rapidshare-ext-0.0.6 test/unit/rapidshare-ext_test.rb
rapidshare-ext-0.0.5 test/unit/rapidshare-ext_test.rb
rapidshare-ext-0.0.4 test/unit/rapidshare-ext_test.rb
rapidshare-ext-0.0.3 test/unit/rapidshare-ext_test.rb
rapidshare-ext-0.0.2 test/unit/rapidshare-ext_test.rb
rapidshare-ext-0.0.1 test/unit/rapidshare-ext_test.rb