Sha256: 62ff01f26589a6d7fce7ac02d902b2ebcf43fd5c5982c5f039050771b9b0387e

Contents?: true

Size: 460 Bytes

Versions: 25

Compression:

Stored size: 460 Bytes

Contents

require File.join(File.dirname(__FILE__), 'test_helper')

class IssueTest < Test::Unit::TestCase
  include Octopi
  
  def setup
    fake_everything
    @user = User.find("fcoury")
    @repo = @user.repository("octopi")
  end
  
  context IssueComment do
    should "be valid" do
      comment = IssueComment.new({ :comment => "This is a comment", :status => "saved"})
      assert_not_nil comment.comment
      assert_not_nil comment.status
    end
  end
end

Version data entries

25 entries across 25 versions & 4 rubygems

Version Path
octopi-0.4.5 test/issue_comment.rb
octopi-0.4.4 test/issue_comment.rb
octopi-0.4.2 test/issue_comment.rb
octopi-0.4.1 test/issue_comment.rb
octopi-0.4.0 test/issue_comment.rb
octopi-0.3.0 test/issue_comment.rb
dcuddeback-octopi-0.2.12 test/issue_comment.rb
dcuddeback-octopi-0.2.11 test/issue_comment.rb
dcuddeback-octopi-0.2.9 test/issue_comment.rb
dcuddeback-octopi-0.2.8 test/issue_comment.rb
devver-octopi-0.2.14 test/issue_comment.rb
tpitale-octopi-0.3.0 test/issue_comment.rb
devver-octopi-0.2.13 test/issue_comment.rb
devver-octopi-0.2.12 test/issue_comment.rb
octopi-0.2.8 test/issue_comment.rb
devver-octopi-0.2.11 test/issue_comment.rb
devver-octopi-0.2.10 test/issue_comment.rb
devver-octopi-0.2.9 test/issue_comment.rb
devver-octopi-0.2.8 test/issue_comment.rb
octopi-0.2.7 test/issue_comment.rb