```ruby
require "spec_helper"

describe RedditApi::Comments do

  describe "#most_recent_subreddits" do
    it "returns the names of n subreddits given user has commented on" do
      comments_api = RedditApi::Comments.new
      user = RedditApi::User.new({ "username" => "spez" })
      count = 5

      subreddits = comments_api.most_recent_subreddits(user, count)

      expect(subreddits.length).to eq(count)
    end
  end

  describe "#most_recent_comments" do
    it "returns n most recent comments for the given user" do
      comments_api = RedditApi::Comments.new
      user = RedditApi::User.new({ "username" => "spez" })
      count = 5

      comments = comments_api.most_recent_comments(user, count)

      expect(comments.length).to eq(count)
    end

    it "returns only comments for the given user" do
      comments_api = RedditApi::Comments.new
      user = RedditApi::User.new({ "username" => "spez" })

      comments = comments_api.most_recent_comments(user, 1)
      authored_by_user = comments.all? do |comment|
        comment.author_name == user.username
      end

      expect(authored_by_user).to be true
    end
  end

end


```

Add uniqueness expectation to RedditApi::Comments
user
```ruby
require "spec_helper"

describe RedditApi::Comments do

  describe "#most_recent_subreddits" do
    it "returns the names of n subreddits given user has commented on" do
      comments_api = RedditApi::Comments.new
      user = RedditApi::User.new({ "username" => "spez" })
      count = 5

      subreddits = comments_api.most_recent_subreddits(user, count)

      expect(subreddits.length).to eq(count)
    end
  end

  describe "#most_recent_comments" do
    it "returns n most recent comments for the given user" do
      comments_api = RedditApi::Comments.new
      user = RedditApi::User.new({ "username" => "spez" })
      count = 5

      comments = comments_api.most_recent_comments(user, count)

      expect(comments.length).to eq(count)
    end

    it "comments are unique" do
      comments_api = RedditApi::Comments.new
      user = RedditApi::User.new({ "username" => "spez" })
      count = 5

      comments = comments_api.most_recent_comments(user, count)
      unique_comments = comments.uniq { |c| c.reddit_id }

      expect(unique_comments.length == comments.length).to be true
    end

    it "returns only comments for the given user" do
      comments_api = RedditApi::Comments.new
      user = RedditApi::User.new({ "username" => "spez" })

      comments = comments_api.most_recent_comments(user, 1)
      authored_by_user = comments.all? do |comment|
        comment.author_name == user.username
      end

      expect(authored_by_user).to be true
    end
  end

end


```
assistant