Sha256: 6b76005020333feb56fc8126da494772534563ff3f9bf27bc8ff0ea11f60ea02

Contents?: true

Size: 433 Bytes

Versions: 19

Compression:

Stored size: 433 Bytes

Contents

# Tests for octopi core functionality go here.
require File.join(File.dirname(__FILE__), 'test_helper')

class TagTest < Test::Unit::TestCase
  include Octopi
  
  def setup
    fake_everything
  end
  
  context Tag do
    should "be able to find all tags" do
      tags = Tag.all(:user => "fcoury", :repository => "octopi")
      assert_not_nil tags
      assert 12, tags.size
      assert tags.first.is_a?(Tag)
    end
  end

end

Version data entries

19 entries across 19 versions & 4 rubygems

Version Path
dcuddeback-octopi-0.2.12 test/tag_test.rb
dcuddeback-octopi-0.2.11 test/tag_test.rb
dcuddeback-octopi-0.2.9 test/tag_test.rb
dcuddeback-octopi-0.2.8 test/tag_test.rb
devver-octopi-0.2.14 test/tag_test.rb
tpitale-octopi-0.3.0 test/tag_test.rb
devver-octopi-0.2.13 test/tag_test.rb
devver-octopi-0.2.12 test/tag_test.rb
octopi-0.2.8 test/tag_test.rb
devver-octopi-0.2.11 test/tag_test.rb
devver-octopi-0.2.10 test/tag_test.rb
devver-octopi-0.2.9 test/tag_test.rb
devver-octopi-0.2.8 test/tag_test.rb
octopi-0.2.7 test/tag_test.rb
octopi-0.2.6 test/tag_test.rb
octopi-0.2.5 test/tag_test.rb
octopi-0.2.4 test/tag_test.rb
octopi-0.2.2 test/tag_test.rb
octopi-0.2.1 test/tag_test.rb