Skip to content

Commit

Permalink
Fix typo in method name represenative_set -> representative_set.
Browse files Browse the repository at this point in the history
  • Loading branch information
floere committed Dec 3, 2013
1 parent 43e7371 commit 6871ed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cocoapods-core/source/aggregate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def dirs
# @return [Set] The most representative set for the Pod with the given
# name.
#
def represenative_set(name)
def representative_set(name)
representative_source = nil
highest_version = nil
all.each do |source|
Expand Down
2 changes: 1 addition & 1 deletion spec/source/aggregate_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module Pod
end

it "returns a set configured to use only the source which contains the highest version" do
set = @sut.represenative_set('JSONKit')
set = @sut.representative_set('JSONKit')
set.versions.map(&:to_s).should == ["999.999.999", "1.4"]
end

Expand Down

0 comments on commit 6871ed5

Please sign in to comment.