spec/lol/league_entry_spec.rb in ruby-lol-0.9.17 vs spec/lol/league_entry_spec.rb in ruby-lol-0.9.18

- old
+ new

@@ -11,11 +11,11 @@ context "initialization" do it_behaves_like 'Lol model' do let(:valid_attributes) { { player_or_team_id: 123456 } } end - %w(player_or_team_id player_or_team_name league_name queue_type tier rank league_points wins is_hot_streak is_veteran is_fresh_blood is_inactive last_played time_until_decay).each do |attribute| + %w(player_or_team_id player_or_team_name league_points wins is_hot_streak is_veteran is_fresh_blood is_inactive last_played time_until_decay).each do |attribute| describe "#{attribute} attribute" do it_behaves_like 'plain attribute' do let(:attribute) { attribute } let(:attribute_value) { 'asd' } end @@ -25,13 +25,9 @@ it "returns a MiniSeries object if a miniseries is available" do mini_series =<<-EOF { "playerOrTeamId" : "30247742", "playerOrTeamName" : "Danterno", - "leagueName" : "Annie's Blades", - "queueType" : "RANKED_SOLO_5x5", - "tier" : "SILVER", - "rank" : "II", "leaguePoints" : 84, "wins" : 35, "isHotStreak" : false, "isVeteran" : false, "isFreshBlood" : false,