Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
more spec rafactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
dnagir committed Jan 17, 2012
1 parent 2c7195e commit f33e005
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions spec/neo4j-will_paginate_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@ def self.should_be_paginated
context ::Neo4j::Traversal::Traverser do
let(:source) { Person.all }
before { 10.times { Person.create } }

should_be_paginated
end

context ::Neo4j::Index::LuceneQuery do
let(:source) { Person.all(:conditions => 'name: *') }
before { 10.times { Person.create(:name => 'x') } }

should_be_paginated
end

Expand All @@ -39,12 +37,7 @@ def self.should_be_paginated
let(:he) { Person.create }
before { 10.times { he.friends << Person.create }; he.save! }

context ::Neo4j::HasN::Mapping do
should_be_paginated
end

context ::Neo4j::Rails::Relationships::NodesDSL do
let(:source) { super.instace_eval{ @dsl } }
should_be_paginated
end

Expand Down

0 comments on commit f33e005

Please sign in to comment.