Sha256: e38004b1c170fc27b12a988afff2b60d3637f639039ca569552a012c2fc58aeb

Contents?: true

Size: 310 Bytes

Versions: 5

Compression:

Stored size: 310 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe RailsPaginate::Helpers::Array do
  subject { Array.new }
  specify { should respond_to :paginate }
  
  describe "return of #paginate" do
    subject { Array.new.paginate }
    it { should be_a RailsPaginate::Collection }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails_paginate-0.0.7 spec/helpers/array_spec.rb
rails_paginate-0.0.6 spec/helpers/array_spec.rb
rails_paginate-0.0.5 spec/helpers/array_spec.rb
rails_paginate-0.0.4 spec/helpers/array_spec.rb
rails_paginate-0.0.3 spec/helpers/array_spec.rb