Skip to content

Commit

Permalink
Skipping Mongoid except on Ruby 1.9.3 or greater.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyshields committed Jan 7, 2013
1 parent dc9f41c commit 8617786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/persistence/mongoid_persistance_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# if you want to see the statements while running the spec enable the following line
# Mongoid.logger = Logger.new(STDERR)

describe Mongoid do
describe Mongoid, if: Gem::Version.create(RUBY_VERSION.dup) >= Gem::Version.create('1.9.3') do
before(:all) do
DATABASE_NAME = "mongoid_#{Process.pid}"

Expand Down

0 comments on commit 8617786

Please sign in to comment.