Sha256: 21ec3697f80af016da907473c585bc40e75cbb6bfe0420b4dc94896e7b420b72

Contents?: true

Size: 449 Bytes

Versions: 2

Compression:

Stored size: 449 Bytes

Contents

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

describe RailsPaginate::Renderers::HtmlDefault do
  let(:collection) { [].paginate }
  subject { RailsPaginate::Renderers::HtmlDefault.new action_view, collection, RailsPaginate.pager(:slider).new(collection) }
  specify { should respond_to :render }

  it "#render should not raise StandardError" do
    lambda { subject.render }.should_not raise_error(StandardError)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_paginate-0.0.4 spec/renderers/html_default_spec.rb
rails_paginate-0.0.3 spec/renderers/html_default_spec.rb