Skip to content

Commit

Permalink
Merge 95f12ea into 1410fa1
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Dec 23, 2017
2 parents 1410fa1 + 95f12ea commit 651e56b
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions spec/apple_system_status/crawler_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,10 @@
"Photo Print Products",
"Photos",
"Radio",
"SMS Text Forwarding",
"Siri",
"Spotlight suggestions",
"Volume Purchase Program",
"iBooks Store",
"iChat",
"iCloud Account & Sign In",
"iCloud Backup",
"iCloud Bookmarks & Tabs",
Expand All @@ -54,9 +52,7 @@
"iCloud Storage Upgrades",
"iCloud Web Apps (iCloud.com)",
"iMessage",
"iMovie Theater",
"iOS Device Activation",
"iPhone Calls to iPad and Mac",
"iTunes Match",
"iTunes Store",
"iTunes U",
Expand All @@ -75,7 +71,10 @@
expect(actual[:services]).to all(be_a_service)

service_titles = actual[:services].map { |service| service[:title] }
expect(service_titles).to eq us_service_titles

us_service_titles.each do |service|
expect(service_titles).to include service
end
end
end
end
Expand All @@ -100,12 +99,10 @@
"Mac App Store",
"Mail Drop",
"Radio",
"SMSメッセージ転送",
"Siri",
"Spotlight の検索候補",
"Volume Purchase Program",
"iBooks Store",
"iChat",
"iCloud Drive",
"iCloud Web Apps (iCloud.com)",
"iCloud アカウントおよびサインイン",
Expand All @@ -119,9 +116,7 @@
"iCloud リマインダー",
"iCloud 連絡先",
"iMessage",
"iMovie Theater",
"iOS デバイスアクティベーション",
"iPhone から iPad や Mac へ通話",
"iPhoneを探す",
"iTunes Match",
"iTunes Store",
Expand Down Expand Up @@ -149,7 +144,10 @@
expect(actual[:services]).to all(be_a_service)

service_titles = actual[:services].map { |service| service[:title] }
expect(service_titles).to eq jp_service_titles

jp_service_titles.each do |service|
expect(service_titles).to include service
end
end
end
end
Expand Down

0 comments on commit 651e56b

Please sign in to comment.