Skip to content

Commit

Permalink
take 4
Browse files Browse the repository at this point in the history
  • Loading branch information
toyhammered committed Jul 6, 2016
1 parent 27d1750 commit caebfaf
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
it 'should return the Japanese title of media' do
expect(subject.titles[:ja_jp]).to eq('カウボーイビバップ')
end
it 'should prevent an error if English or Japanese title does not exist' do
it 'should return nil if English or Japanese title does not exist' do
subject = described_class.new({ other_titles: {} }.to_json)

expect(subject.titles[:en_us]).to be_nil
Expand All @@ -252,7 +252,7 @@
end

it 'should return all genres' do
expect(subject.genres).to eq(["Action", "Adventure", "Comedy", "Drama", "Sci-Fi", "Space"])
expect(subject.genres).to eq(%w(Action Adventure Comedy Drama Sci-Fi Space))
end
end

Expand Down Expand Up @@ -342,10 +342,10 @@
end

it 'should return all genres' do
expect(subject.genres).to eq(%w[Action Adventure Demons
expect(subject.genres).to eq(%w(Action Adventure Demons
Drama Fantasy Horror
Supernatural Military
Psychological Seinen])
Psychological Seinen))
end
end

Expand Down

0 comments on commit caebfaf

Please sign in to comment.