spec/cucumber/ast/table_spec.rb in aslakhellesoy-cucumber-0.1.100.1 vs spec/cucumber/ast/table_spec.rb in aslakhellesoy-cucumber-0.1.100.2

- old
+ new

@@ -109,14 +109,14 @@ @table.hashes[0]['book'].should_not == 'Unbearable lightness of being' end it "should not raise an error when there are nil values in the table" do table = Table.new([ - ['book'], - [nil] + ['book', 'qty'], + ['<book>', nil], ]) lambda{ - table.arguments_replaced({'<book>' => 'The great sheep chase'}) + table.arguments_replaced({'<book>' => nil, '<qty>' => '5'}) }.should_not raise_error end end