Sha256: 8fde0262cd4212c7a6e39b76634f79a15fe2056af9e9029fcf5dd9f800c4c71a

Contents?: true

Size: 438 Bytes

Versions: 39

Compression:

Stored size: 438 Bytes

Contents

require File.dirname(__FILE__) + '/../../spec_helper'
require 'cucumber/formatter/html'

module Cucumber
  module Formatter
    describe Html do
      before(:each) do
        @out = StringIO.new
        @html = Html.new(mock("step mother"), @out, {})
      end

      it "should not raise an error when visiting a blank feature name" do
        lambda { @html.visit_feature_name("") }.should_not raise_error
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 7 rubygems

Version Path
aslakhellesoy-cucumber-0.3.100 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.101.2 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.101 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.102.1 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.102.2 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.102 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.93.1 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.93 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.94.1 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.94 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.95 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.96 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.97 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.98 spec/cucumber/formatter/html_spec.rb
aslakhellesoy-cucumber-0.3.99 spec/cucumber/formatter/html_spec.rb
dwaite-cucumber-0.3.101 spec/cucumber/formatter/html_spec.rb
engineyard-cucumber-0.3.101 spec/cucumber/formatter/html_spec.rb
kosmas58-cucumber-0.3.100 spec/cucumber/formatter/html_spec.rb
kosmas58-cucumber-0.3.102 spec/cucumber/formatter/html_spec.rb
kosmas58-cucumber-0.3.93.1 spec/cucumber/formatter/html_spec.rb