Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
biow0lf committed Jan 2, 2025
1 parent 644e3f5 commit 394b050
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/features/universe_category_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 394b050

Please sign in to comment.