diff --git a/spec/features/universe_category_spec.rb b/spec/features/universe_category_spec.rb index 6f746b6c..684add2c 100644 --- a/spec/features/universe_category_spec.rb +++ b/spec/features/universe_category_spec.rb @@ -7,23 +7,23 @@ after { VCR.eject_cassette } - let(:options) { {id: 6} } + let(:options) { {category_id: 6} } subject { EveOnline::ESI::UniverseCategory.new(options) } specify { expect(subject.scope).to eq(nil) } specify do - expect(subject.as_json).to eq(category_id: 6, + expect(subject.as_json).to eq(id: 6, name: "Ship", published: true) end - specify { expect(subject.group_ids.size).to eq(46) } + specify { expect(subject.group_ids.size).to eq(47) } specify { expect(subject.group_ids.first).to eq(25) } specify { expect(subject.error_limit_remain).to eq(100) } - specify { expect(subject.error_limit_reset).to eq(48) } + specify { expect(subject.error_limit_reset).to eq(15) } end