dnagir/neo4j-advanced — comment on commit 4b74c53b1621b74176ddd4fe2f76bfd5a01cb2ab
File: Gemfile line 8
By dnagir:

There's circular dependency. A bit weird :)
I think I have a better idea: instead use specs in the neo4j.rb that run for the particular edition only.

We can tag those as `:edition => :advanced`.
And depending on the `ENV` we require appropriate edition from specs when running:

```ruby
# spec_helper
require "neo4j-#{ENV['EDITION'] or 'community'}"
```

```ruby
# Gemspec
group :test do
gem 'neo4j-community'
gem 'neo4j-advanced', :require => false
gem 'neo4j-enterprise', :require => false
end
```

We will also add RSpec filter to ignore the specs that have `edition` tag and don't match the current one.

This will also allow us to run different builds on Travis for each edition.