```ruby
describe Ruboty::DMM::Ranking do
  let(:instance) { described_class.new(command).call }

  describe '#call' do
    context 'with 24 argument' do
      subject { instance }

      let(:command) { '@ruboty dmm ranking 24' }

      it { is_expected.not_to be_empty }
    end

    context 'with not registered argument' do
      subject { -> { instance.size } }

      let(:command) { '@ruboty dmm ranking hoge' }

      it { is_expected.to raise_error(TypeError) }
    end
  end
end
```

Fix specs according to now specification
user
```ruby
describe Ruboty::DMM::Ranking do
  let(:instance) { described_class.new(arguments).call }
  let(:submedia) { 'cg' }
  let(:arguments) { { submedia: submedia, term: term } }

  describe '#call' do
    context 'with 24 argument' do
      subject { instance }
      let(:term) { '24' }

      it { is_expected.not_to be_empty }
    end

    context 'with not registered argument' do
      subject { -> { instance.size } }

      let(:term) { 'hoge' }

      it { is_expected.to raise_error(TypeError) }
    end
  end
end
```
assistant