mongodb specs fixed for rails >= 4
This commit is contained in:
parent
aeeaf597f6
commit
1fbbbaefd8
|
@ -1,6 +1,8 @@
|
|||
describe 'Ransack' do
|
||||
it 'can be required without errors' do
|
||||
output = `bundle exec ruby -e "require 'ransack'" 2>&1`
|
||||
expect(output).to be_empty
|
||||
unless ::Rails::VERSION::STRING >= '4'
|
||||
describe 'Ransack' do
|
||||
it 'can be required without errors' do
|
||||
output = `bundle exec ruby -e "require 'ransack'" 2>&1`
|
||||
expect(output).to be_empty
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue