Sha256: a706be23291234bed14e97023c4c05c6ff50a2119b45d5c19c861c48e3050368

Contents?: true

Size: 353 Bytes

Versions: 6

Compression:

Stored size: 353 Bytes

Contents

require 'spec_helper'

module Commontator
  describe ThreadsHelper do
    before do
      setup_helper_spec
    end
    
    it 'must print commontable name' do
      commontable_name(@thread).must_equal 'dummy comment'
    end
    
    it 'must print commontable id' do
      commontable_id(@thread).must_equal @thread.commontable_id
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
commontator-1.1.1 spec/app/helpers/commontator/threads_helper_spec.rb~
commontator-1.1.0 spec/app/helpers/commontator/threads_helper_spec.rb~
commontator-1.0.6 spec/app/helpers/commontator/threads_helper_spec.rb~
commontator-1.0.5 spec/app/helpers/commontator/threads_helper_spec.rb~
commontator-1.0.4 spec/app/helpers/commontator/threads_helper_spec.rb~
commontator-1.0.3 spec/app/helpers/commontator/threads_helper_spec.rb~