Sha256: 2dca4a488d336fe96d2bdfa2310d59ea75e4bdd8992817d3d90ca3d54f211be1
Contents?: true
Size: 427 Bytes
Versions: 5
Compression:
Stored size: 427 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe RailsPaginate::Renderers::Base do let(:collection) { [].paginate } subject { RailsPaginate::Renderers::Base.new action_view, collection, RailsPaginate.pager(:slider).new(collection) } specify { should respond_to :render } it "#render should raise StandardError" do lambda { subject.render }.should raise_error(StandardError) end end
Version data entries
5 entries across 5 versions & 1 rubygems