Sha256: 32efb03b77808efc07e9ca430112a9d571d7bea42a931d7d1f919abe685e0971

Contents?: true

Size: 351 Bytes

Versions: 10

Compression:

Stored size: 351 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 model'
    end
    
    it 'must print commontable id' do
      commontable_id(@thread).must_equal @thread.commontable_id
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
commontator-2.0.1 spec/app/helpers/commontator/threads_helper_spec.rb~
commontator-2.0.0 spec/app/helpers/commontator/threads_helper_spec.rb~
commontator-1.1.3 spec/app/helpers/commontator/threads_helper_spec.rb~
commontator-1.1.2 spec/app/helpers/commontator/threads_helper_spec.rb~
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