Skip to content

Commit

Permalink
added specs for upcoming netflix submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
ikramagix committed Nov 22, 2024
1 parent 2b6775c commit 04e1a0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/tv_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,12 @@
all_shows = YAML.load_file(Faussaire::Tv::DATA_PATH).dig('fr', 'faussaire', 'tv', 'show')
all_influencers = YAML.load_file(Faussaire::Tv::DATA_PATH).dig('fr', 'faussaire', 'tv', 'influencer')
all_channels = YAML.load_file(Faussaire::Tv::DATA_PATH).dig('fr', 'faussaire', 'tv', 'channel')
all_netflix = YAML.load_file(Faussaire::Tv::DATA_PATH).dig('fr', 'faussaire', 'tv', 'netflix')

expect(all_shows.uniq.size).to eq(all_shows.size)
expect(all_influencers.uniq.size).to eq(all_influencers.size)
expect(all_channels.uniq.size).to eq(all_channels.size)
expect(all_netflix.uniq.size).to eq(all_netflix.size)
end
end
end

0 comments on commit 04e1a0e

Please sign in to comment.