Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove "Feature:" from card body as it's already in the card type
  • Loading branch information
brynary committed Jan 20, 2009
1 parent 4df7b45 commit 7280c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/features2cards/card.rb
Expand Up @@ -6,7 +6,7 @@ class Card
attr_reader :footer

def self.for_feature(feature)
new("Feature", feature.header.split("\n").first, "")
new("Feature", feature.header.split("\n").first.gsub(/^\s*Feature:/, '').strip, "")
end

def self.for_scenario(scenario)
Expand Down

0 comments on commit 7280c10

Please sign in to comment.