Skip to content

Commit

Permalink
Test Kaminari::ActionViewExtension only when Rails is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki24 committed Mar 9, 2014
1 parent 7ccc80f commit f6d186b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/helpers/action_view_extension_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'

describe 'Kaminari::ActionViewExtension' do
describe 'Kaminari::ActionViewExtension', :if => defined?(Rails)do
describe '#paginate' do
before do
50.times {|i| User.create! :name => "user#{i}"}
Expand Down

0 comments on commit f6d186b

Please sign in to comment.