Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
cheerfulstoic committed Jul 12, 2016
1 parent fb2d817 commit fd96dfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/active_node/labels_spec.rb
Expand Up @@ -183,11 +183,11 @@ class Event < URL
classes = [Event, URL, DataSource::URL, DataSource::Event]

# TODO: not sure why this is not being called when the class is defined
classes.reverse.each {|c| Neo4j::ActiveNode::Labels.add_wrapped_class(c)}
classes.reverse_each { |c| Neo4j::ActiveNode::Labels.add_wrapped_class(c) }

classes.each do |c|
labels = c.mapped_label_names
model = Neo4j::ActiveNode::Labels::model_for_labels(labels)
model = Neo4j::ActiveNode::Labels.model_for_labels(labels)
expect(model).to eq(c)
end
end
Expand Down

0 comments on commit fd96dfa

Please sign in to comment.