Skip to content

Commit

Permalink
Fix visitor test
Browse files Browse the repository at this point in the history
  • Loading branch information
josepjaume committed May 22, 2012
1 parent 1dfcd87 commit 90006e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/spinach/parser/visitor_test.rb
Expand Up @@ -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']
Expand Down

1 comment on commit 90006e7

@JonathanTron
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.