Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hvaldecantos committed Apr 15, 2015
1 parent 5dab45f commit f7247d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/interactive_churn/churn_interactive.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ def count(commit, author, file, lines_del)
# @param output_formatter [OutputFormatter] An object responsible to print in different formats.
# @return [String] The total commits, interactive churn, self churn, and authors affectd.
def print output_formatter
output_formatter.print({ "Commits:" => @commits, "Interactive churn:" => @result, "Sefl churn:" => @self_churn, "Authors affected:" => @authors_affected })
output_formatter.print({ "Commits:" => @commits, "Interactive churn:" => @result, "Self churn:" => @self_churn, "Authors affected:" => @authors_affected })
end
end
2 changes: 1 addition & 1 deletion spec/lib/churn_interactive_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

it "specifies what to print" do
output_formatter = double("OutputFormatter")
h = {"Commits:" => 0, "Interactive churn:" => 0, "Sefl churn:" => 0, "Authors affected:" => 0}
h = {"Commits:" => 0, "Interactive churn:" => 0, "Self churn:" => 0, "Authors affected:" => 0}
expect(output_formatter).to receive(:print).with(h)
@ichurn.print(output_formatter)
end
Expand Down

0 comments on commit f7247d3

Please sign in to comment.