Skip to content

Commit

Permalink
Failing spec for html formatter scenario-level comment
Browse files Browse the repository at this point in the history
  • Loading branch information
smiller-optoro committed Jun 5, 2015
1 parent 09b0ae4 commit 9f60aa0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions spec/cucumber/formatter/html_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,17 @@ module Formatter
it { expect(@doc).to have_css_node('.feature .comment', /Healthy/) }
end

describe "with a comment at scenario level" do
define_feature <<-FEATURE
Feature: Foo
# Healthy Scenario
Scenario:
Given passing
FEATURE

it { expect(@doc).to have_css_node('.scenario .comment', /Healthy Scenario/) }
end

describe "with a tag" do
define_feature <<-FEATURE
@foo
Expand Down

0 comments on commit 9f60aa0

Please sign in to comment.