Permalink
Browse files

Fix visitor test

  • Loading branch information...
1 parent 1dfcd87 commit 90006e75bfb061cfa9af061b5544beac755a47fe @josepjaume josepjaume committed May 22, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/spinach/parser/visitor_test.rb
@@ -134,6 +134,7 @@ class Parser
tags = ['tag1', 'tag2', 'tag3']
scenario = stub(tags: tags)
visitor.instance_variable_set(:@current_scenario, scenario)
+ visitor.instance_variable_set(:@current_tag_set, scenario)
visitor.visit_Tag(stub(name: 'tag4'))
scenario.tags.must_equal ['tag1', 'tag2', 'tag3', 'tag4']

1 comment on commit 90006e7

Contributor

JonathanTron commented on 90006e7 May 22, 2012

Sorry I thought I had fix all test before sending the pull request. Thanks for fixing it.

Please sign in to comment.