Skip to content

Commit

Permalink
MONGOID-4326 Run test if collation is not defined regardless of serve…
Browse files Browse the repository at this point in the history
…r version
  • Loading branch information
estolfo committed Dec 22, 2016
1 parent 4987361 commit 7691ff7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/mongoid/contextual/atomic_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@

describe "#pull_all" do

context 'when the criteria does not have a collation', if: collation_supported? do
context 'when the criteria does not have a collation' do

let!(:depeche_mode) do
Band.create(members: [ "Dave", "Alan", "Fletch" ])
Expand Down Expand Up @@ -433,7 +433,7 @@

describe "#push" do

context 'when the criteria does not have a collation', if: collation_supported? do
context 'when the criteria does not have a collation' do

let!(:depeche_mode) do
Band.create(members: [ "Dave" ])
Expand Down Expand Up @@ -498,7 +498,7 @@

describe "#push_all" do

context 'when the criteria does not have a collation', if: collation_supported? do
context 'when the criteria does not have a collation' do

let!(:depeche_mode) do
Band.create(members: [ "Dave" ])
Expand Down Expand Up @@ -559,7 +559,7 @@

describe "#rename" do

context 'when the criteria does not have a collation', if: collation_supported? do
context 'when the criteria does not have a collation' do

let!(:depeche_mode) do
Band.create(members: [ "Dave" ])
Expand Down

0 comments on commit 7691ff7

Please sign in to comment.