source
stringclasses
1 value
repo
stringlengths
5
63
repo_url
stringlengths
24
82
path
stringlengths
5
167
language
stringclasses
1 value
license
stringclasses
5 values
stars
int64
10
51.4k
ref
stringclasses
23 values
size_bytes
int64
200
258k
text
stringlengths
137
258k
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/portal/merchant_spec.rb
Ruby
mit
41,450
master
3,815
require 'spec_helper' describe Spaceship::Portal::Merchant do let(:mock_client) { double('MockClient') } before do allow(Spaceship::Portal::Merchant).to receive(:client).and_return(mock_client) end describe ".all" do it "fetches all merchants" do mock_client_response(:merchants, with: any_args)...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/portal/enterprise_spec.rb
Ruby
mit
41,450
master
1,087
describe Spaceship::ProvisioningProfile do describe "Enterprise Profiles" do # Skip tunes login and login with portal include_examples "common spaceship login", true before do Spaceship.login PortalStubbing.adp_enterprise_stubbing end let(:client) { Spaceship::ProvisioningProfile.clien...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/portal/invite_spec.rb
Ruby
mit
41,450
master
1,703
describe Spaceship::Portal::Persons do # Skip tunes login and login with portal include_examples "common spaceship login", true before { Spaceship.login } it "should factor a new invite object" do created = 1_501_106_986_000 expires = 1_503_705_599_000 attrs = { "inviteId" => "A0B4C6D8EF", ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/portal/provisioning_profile_template_spec.rb
Ruby
mit
41,450
master
1,065
describe Spaceship::Portal::ProvisioningProfileTemplate do # Skip tunes login and login with portal include_examples "common spaceship login", true before { Spaceship.login } it "should factor a new provisioning profile template" do attrs = { "description" => "Template description", "purposeDisp...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/portal/app_spec.rb
Ruby
mit
41,450
master
5,459
describe Spaceship::Portal::App do # Skip tunes login and login with portal include_examples "common spaceship login", true before { Spaceship.login } let(:client) { Spaceship::Portal::App.client } describe "successfully loads and parses all apps" do it "the number is correct" do expect(Spaceship::...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/portal/device_spec.rb
Ruby
mit
41,450
master
6,498
describe Spaceship::Device do # Skip tunes login and login with portal include_examples "common spaceship login", true before { Spaceship.login } let(:client) { Spaceship::Device.client } subject(:all_devices) { Spaceship::Device.all } it "successfully loads and parses all devices" do expect(all_device...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/portal/app_group_spec.rb
Ruby
mit
41,450
master
2,057
describe Spaceship::Portal::AppGroup do # Skip tunes login and login with portal include_examples "common spaceship login", true before { Spaceship.login } let(:client) { Spaceship::Portal::AppGroup.client } describe "successfully loads and parses all app groups" do it "the number is correct" do ex...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/iap_detail_spec.rb
Ruby
mit
41,450
master
7,373
describe Spaceship::Tunes::IAPDetail do before { TunesStubbing.itc_stub_iap } include_examples "common spaceship login" let(:client) { Spaceship::Application.client } let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } let(:detailed) { app.in_app_purchases.find("go.find.me").edit }...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/pricing_tier.spec.rb
Ruby
mit
41,450
master
1,539
describe Spaceship::Tunes::PricingTier do include_examples "common spaceship login" let(:client) { Spaceship::AppVersion.client } describe "Pricing Tiers" do it "inspect works" do pricing_tiers = client.pricing_tiers expect(pricing_tiers.inspect).to include("Tunes::PricingTier") expect(pr...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/iap_family_list_spec.rb
Ruby
mit
41,450
master
790
describe Spaceship::Tunes::IAPFamilyList do before { TunesStubbing.itc_stub_iap } include_examples "common spaceship login" let(:client) { Spaceship::Application.client } let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } let(:purchase) { app.in_app_purchases } describe "IAP Fam...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/language_converter_spec.rb
Ruby
mit
41,450
master
3,629
describe Spaceship::Tunes::LanguageConverter do let(:klass) { Spaceship::Tunes::LanguageConverter } describe "#from_itc_to_standard" do it "works with valid inputs" do expect(klass.from_itc_to_standard('English')).to eq('en-US') expect(klass.from_itc_to_standard('English_CA')).to eq('en-CA') ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/application_spec.rb
Ruby
mit
41,450
master
12,715
describe Spaceship::Application do include_examples "common spaceship login" let(:client) { Spaceship::Application.client } let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } describe "successfully loads and parses all apps" do it "inspect works" do expect(app.inspect).to...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/language_item_spec.rb
Ruby
mit
41,450
master
1,675
describe Spaceship::Tunes::LanguageItem do include_examples "common spaceship login" let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } describe "language code inspection" do it "prints out all languages with their values" do str = app.edit_version.description.inspect ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/iap_families_spec.rb
Ruby
mit
41,450
master
1,004
describe Spaceship::Tunes::IAPFamilies do before { TunesStubbing.itc_stub_iap } include_examples "common spaceship login" let(:client) { Spaceship::Application.client } let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } let(:purchase) { app.in_app_purchases } describe "Subscript...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/build_spec.rb
Ruby
mit
41,450
master
4,924
# describe Spaceship::Tunes::Build do # before { Spaceship::Tunes.login } # subject { Spaceship::Tunes.client } # let(:username) { 'spaceship@krausefx.com' } # let(:password) { 'so_secret' } # describe "properly parses the build from the train" do # let(:app) { Spaceship::Application.all.first } # i...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/server_failures_spec.rb
Ruby
mit
41,450
master
1,899
describe Spaceship::TunesClient do describe "Random Server Failures" do include_examples "common spaceship login" let(:client) { Spaceship::Application.client } let(:app) { Spaceship::Application.all.first } describe "#build_trains failing" do # it "automatically re-tries the request when getti...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/member_spec.rb
Ruby
mit
41,450
master
2,431
describe Spaceship::Tunes::Members do include_examples "common spaceship login" before { TunesStubbing.itc_stub_members } let(:client) { Spaceship::AppVersion.client } describe "Member Object" do it "parses selected apps" do member = Spaceship::Members.find("helmut@januschka.com") expect(member...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/app_analytics_spec.rb
Ruby
mit
41,450
master
3,691
require 'spec_helper' describe Spaceship::Tunes::AppAnalytics do include_examples "common spaceship login" let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } describe "App Analytics Grabbed Properly" do it "accesses live analytics details" do start_time, end_time = app.an...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/iap_subscription_pricing_tier_spec.rb
Ruby
mit
41,450
master
1,895
describe Spaceship::Tunes::IAPSubscriptionPricingTier do before { TunesStubbing.itc_stub_iap } include_examples "common spaceship login" let(:client) { Spaceship::AppVersion.client } let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } let(:pricing_tiers) { client.subscription_pric...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/b2b_organization_spec.rb
Ruby
mit
41,450
master
2,938
require 'spec_helper' # require_relative '../../../spaceship/lib/spaceship/tunes/b2b_organization' class B2bOrganizationSpec describe Spaceship::Tunes::B2bOrganization do include_examples "common spaceship login" before { TunesStubbing.itc_stub_app_pricing_intervals } let(:client) { Spaceship::AppVersion...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/availability_spec.rb
Ruby
mit
41,450
master
11,677
describe Spaceship::Tunes::Availability do include_examples "common spaceship login" before { TunesStubbing.itc_stub_app_pricing_intervals } let(:client) { Spaceship::AppVersion.client } let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } describe "availability" do it "inspec...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/build_train_spec.rb
Ruby
mit
41,450
master
5,181
# describe Spaceship::Tunes::BuildTrain do # before { Spaceship::Tunes.login } # subject { Spaceship::Tunes.client } # let(:username) { 'spaceship@krausefx.com' } # let(:password) { 'so_secret' } # describe "properly parses the train" do # let(:app) { Spaceship::Application.all.first } # it "inspect...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/app_submission_spec.rb
Ruby
mit
41,450
master
2,058
describe Spaceship::AppSubmission do include_examples "common spaceship login" let(:client) { Spaceship::AppSubmission.client } let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } describe "successfully creates a new app submission" do it "generates a new app submission from Ap...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/app_version_spec.rb
Ruby
mit
41,450
master
32,735
describe Spaceship::AppVersion, all: true do include_examples "common spaceship login" let(:client) { Spaceship::AppVersion.client } let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } describe "successfully loads and parses the app version" do it "inspect works" do expec...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/territory_spec.rb
Ruby
mit
41,450
master
929
describe Spaceship::Tunes::Territory do include_examples "common spaceship login" let(:client) { Spaceship::AppVersion.client } describe "supported_territories" do it "inspect works" do supported_territories = client.supported_territories expect(supported_territories.inspect).to include("Tunes:...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/tunes_permissions_spec.rb
Ruby
mit
41,450
master
1,541
describe Spaceship::Tunes do describe "InsufficientPermissions" do include_examples "common spaceship login" let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } it "raises an appropriate App Store Connect error when user doesn't have enough permission to do something" do ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/iap_list_spec.rb
Ruby
mit
41,450
master
1,397
describe Spaceship::Tunes::IAPList do before { TunesStubbing.itc_stub_iap } include_examples "common spaceship login" let(:client) { Spaceship::Application.client } let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } let(:purchase) { app.in_app_purchases } describe "IAPList" do ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/device_type_spec.rb
Ruby
mit
41,450
master
1,550
describe Spaceship::Tunes::DeviceType do describe "type identifiers" do before(:each) do # Let's catch those calls to avoid polluting the output # Note: Warning.warn() has a different signature depending on the Ruby version, hence why we need more than one allow(...) allow(Warning).to receive(:w...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/iap_spec.rb
Ruby
mit
41,450
master
5,866
describe Spaceship::Tunes::IAP do before { TunesStubbing.itc_stub_iap } include_examples "common spaceship login" let(:client) { Spaceship::Tunes.client } let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } describe "returns all purchases" do it "returns as IAPList" do e...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/tunes_client_spec.rb
Ruby
mit
41,450
master
9,463
require 'fastlane-sirp' describe Spaceship::TunesClient do include_examples "common spaceship login", true before do # Prevent loading from file saved ssession allow_any_instance_of(Spaceship::Client).to receive(:load_session_from_file).and_return(false) end describe '#login' do it 'raises an exc...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/app_ratings_spec.rb
Ruby
mit
41,450
master
3,507
describe Spaceship::Tunes::AppRatings do include_examples "common spaceship login" let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } let(:client) { Spaceship::Application.client } describe "successfully loads rating summary" do it "contains the right information" do Tune...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/login_spec.rb
Ruby
mit
41,450
master
205
describe Spaceship::Tunes do describe ".login" do it "works with valid data" do client = Spaceship::Tunes.login expect(client).to be_instance_of(Spaceship::TunesClient) end end end
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/tunes_stubbing.rb
Ruby
mit
41,450
master
47,793
# rubocop:disable Metrics/ClassLength class TunesStubbing class << self def itc_read_fixture_file(filename) File.read(File.join('spaceship', 'spec', 'tunes', 'fixtures', filename)) end # Necessary, as we're now running this in a different context def stub_request(*args) WebMock::API.stub_...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/iap_family_details_spec.rb
Ruby
mit
41,450
master
1,463
describe Spaceship::Tunes::IAPFamilyList do before { TunesStubbing.itc_stub_iap } include_examples "common spaceship login" let(:client) { Spaceship::Application.client } let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } let(:purchase) { app.in_app_purchases } describe "IAP Fam...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/testers_spec.rb
Ruby
mit
41,450
master
1,608
describe Spaceship::Tunes::SandboxTester do include_examples "common spaceship login" let(:client) { Spaceship::AppSubmission.client } let(:app) { Spaceship::Application.all.first } describe "Sandbox testers" do describe "listing" do it 'loads sandbox testers correctly' do testers = Spaceshi...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/app_details_spec.rb
Ruby
mit
41,450
master
2,850
describe Spaceship::Tunes::AppDetails do include_examples "common spaceship login" let(:client) { Spaceship::AppVersion.client } let(:app) { Spaceship::Application.all.find { |a| a.apple_id == "898536088" } } describe "App Details are properly loaded" do it "contains all the relevant information" do ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/b2b_user_spec.rb
Ruby
mit
41,450
master
2,140
require 'spec_helper' class B2bUserSpec describe Spaceship::Tunes::B2bUser do include_examples "common spaceship login" before { TunesStubbing.itc_stub_app_pricing_intervals } let(:client) { Spaceship::AppVersion.client } let(:app) { Spaceship::Application.all.first } let(:mock_client) { double('...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/tunes/members_spec.rb
Ruby
mit
41,450
master
1,841
describe Spaceship::Tunes::Members do include_examples "common spaceship login" before { TunesStubbing.itc_stub_members } describe "members" do it "should return a list with members" do members = Spaceship::Members.all expect(members.length).to eq(3) end it "finds one member by email" do...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/api_client_spec.rb
Ruby
mit
41,450
master
9,161
describe Spaceship::ConnectAPI::APIClient do describe "#build_params" do let(:mock_token) { double('token') } let(:client) { Spaceship::ConnectAPI::APIClient.new(token: mock_token) } before(:each) do allow(mock_token).to receive(:text).and_return("ewfawef") allow(mock_token).to receive(:in_ho...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/spaceship_spec.rb
Ruby
mit
41,450
master
6,077
describe Spaceship::ConnectAPI do before(:all) do Spaceship::ConnectAPI.client = nil Spaceship::Tunes.client = nil Spaceship::Portal.client = nil end context '#client' do let(:mock_client) { double('mock_client') } let(:mock_tunes_client) { double('tunes_client') } let(:mock_portal_clien...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/client_spec.rb
Ruby
mit
41,450
master
10,478
describe Spaceship::ConnectAPI::Client do context 'create instance' do it '#initialize' do cookie = double('cookie') current_team_id = double('current_team_id') token = double('token') other_tunes_client = double('tunes_client') other_portal_client = double('portal_client') po...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/token_spec.rb
Ruby
mit
41,450
master
9,426
require 'tempfile' describe Spaceship::ConnectAPI::Token do let(:key_id) { 'BA5176BF04' } let(:issuer_id) { '693fbb20-54a0-4d94-88ce-8a6caf875439' } let(:fake_api_key_json_path) { "./spaceship/spec/connect_api/fixtures/asc_key.json" } let(:fake_api_key_extra_fields_json_path) { "./spaceship/spec/connect_api/f...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/model_spec.rb
Ruby
mit
41,450
master
464
require 'json' describe Spaceship::ConnectAPI::Model do it "#to_json" do class TestModel include Spaceship::ConnectAPI::Model attr_accessor :foo attr_accessor :foo_bar attr_mapping({ "fooBar" => "foo_bar" }) end test = TestModel.new("id", { foo: "foo", foo_bar: "f...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/tunes/tunes_stubbing.rb
Ruby
mit
41,450
master
4,772
class ConnectAPIStubbing class Tunes class << self def read_fixture_file(filename) File.read(File.join('spaceship', 'spec', 'connect_api', 'fixtures', 'tunes', filename)) end def read_binary_fixture_file(filename) File.binread(File.join('spaceship', 'spec', 'connect_api', 'fixtu...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/tunes/tunes_client_spec.rb
Ruby
mit
41,450
master
7,613
describe Spaceship::ConnectAPI::Tunes::Client do let(:mock_tunes_client) { double('tunes_client') } let(:client) { Spaceship::ConnectAPI::Tunes::Client.new(another_client: mock_tunes_client) } let(:hostname) { Spaceship::ConnectAPI::Tunes::Client.hostname } let(:username) { 'spaceship@krausefx.com' } let(:pas...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/users/users_stubbing.rb
Ruby
mit
41,450
master
758
class ConnectAPIStubbing class Users class << self def read_fixture_file(filename) File.read(File.join('spaceship', 'spec', 'connect_api', 'fixtures', 'users', filename)) end def read_binary_fixture_file(filename) File.binread(File.join('spaceship', 'spec', 'connect_api', 'fixtu...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/users/user_client_spec.rb
Ruby
mit
41,450
master
9,570
describe Spaceship::ConnectAPI::Users::Client do let(:mock_tunes_client) { double('tunes_client') } let(:client) { Spaceship::ConnectAPI::Users::Client.new(another_client: mock_tunes_client) } let(:hostname) { Spaceship::ConnectAPI::Users::Client.hostname } let(:username) { 'spaceship@krausefx.com' } let(:pas...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/provisioning/provisioning_stubbing.rb
Ruby
mit
41,450
master
10,156
class ConnectAPIStubbing class Provisioning class << self def read_fixture_file(filename) File.read(File.join('spaceship', 'spec', 'connect_api', 'fixtures', 'provisioning', filename)) end def read_binary_fixture_file(filename) File.binread(File.join('spaceship', 'spec', 'connec...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/provisioning/provisioning_client_spec.rb
Ruby
mit
41,450
master
7,557
describe Spaceship::ConnectAPI::Provisioning::Client do let(:client) { Spaceship::ConnectAPI::Provisioning::Client.new } let(:hostname) { Spaceship::ConnectAPI::Provisioning::Client.hostname } let(:username) { 'spaceship@krausefx.com' } let(:password) { 'so_secret' } before do Spaceship::ConnectAPI.login...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/testflight/testflight_client_spec.rb
Ruby
mit
41,450
master
28,017
describe Spaceship::ConnectAPI::TestFlight::Client do let(:mock_tunes_client) { double('tunes_client') } let(:client) { Spaceship::ConnectAPI::TestFlight::Client.new(another_client: mock_tunes_client) } let(:hostname) { Spaceship::ConnectAPI::TestFlight::Client.hostname } let(:username) { 'spaceship@krausefx.co...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/testflight/testflight_stubbing.rb
Ruby
mit
41,450
master
6,664
class ConnectAPIStubbing class TestFlight class << self def read_fixture_file(filename) File.read(File.join('spaceship', 'spec', 'connect_api', 'fixtures', 'testflight', filename)) end def read_binary_fixture_file(filename) File.binread(File.join('spaceship', 'spec', 'connect_ap...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/app_store_version_release_request_spec.rb
Ruby
mit
41,450
master
623
describe Spaceship::ConnectAPI::AppStoreVersionReleaseRequest do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#post_app_store_version_release_request' do response = Spaceship::ConnectAPI.post_app_store_version_release_request expect(response).to be_an_instance_...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/app_spec.rb
Ruby
mit
41,450
master
8,404
describe Spaceship::ConnectAPI::App do let(:mock_tunes_client) { double('tunes_client') } let(:username) { 'spaceship@krausefx.com' } let(:password) { 'so_secret' } before do allow(mock_tunes_client).to receive(:team_id).and_return("123") allow(mock_tunes_client).to receive(:select_team) allow(mock...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/user_spec.rb
Ruby
mit
41,450
master
1,525
describe Spaceship::ConnectAPI::User do let(:mock_tunes_client) { double('tunes_client') } let(:username) { 'spaceship@krausefx.com' } let(:password) { 'so_secret' } before do allow(mock_tunes_client).to receive(:team_id).and_return("123") allow(mock_tunes_client).to receive(:select_team) allow(moc...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/pre_release_version_spec.rb
Ruby
mit
41,450
master
1,110
describe Spaceship::ConnectAPI::PreReleaseVersion do let(:mock_tunes_client) { double('tunes_client') } let(:username) { 'spaceship@krausefx.com' } let(:password) { 'so_secret' } before do allow(mock_tunes_client).to receive(:team_id).and_return("123") allow(mock_tunes_client).to receive(:select_team) ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/beta_tester_metric_spec.rb
Ruby
mit
41,450
master
972
describe Spaceship::ConnectAPI::BetaTesterMetric do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#get_beta_tester_metrics' do response = Spaceship::ConnectAPI.get_beta_tester_metrics expect(response).to be_an_instance_of(Spaceship::ConnectAPI::Response) ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/profile_spec.rb
Ruby
mit
41,450
master
1,476
describe Spaceship::ConnectAPI::Profile do let(:mock_portal_client) { double('portal_client') } let(:username) { 'spaceship@krausefx.com' } let(:password) { 'so_secret' } before do allow(mock_portal_client).to receive(:team_id).and_return("123") allow(mock_portal_client).to receive(:select_team) al...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/app_store_version_spec.rb
Ruby
mit
41,450
master
1,260
describe Spaceship::ConnectAPI::AppStoreVersion do include_examples "common spaceship login" describe "AppStoreVersion object" do describe "reverse maps attributes" do let(:app_store_version) { Spaceship::ConnectAPI::AppStoreVersion.new('id', {}) } let(:attribute_attributes) do { ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/build_delivery_spec.rb
Ruby
mit
41,450
master
795
describe Spaceship::ConnectAPI::BuildDelivery do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#get_build_deliveries' do response = Spaceship::ConnectAPI.get_build_deliveries(app_id: "1234") expect(response).to be_an_instance_of(Spaceship::ConnectAPI::Response) ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/beta_group_spec.rb
Ruby
mit
41,450
master
1,415
describe Spaceship::ConnectAPI::BetaGroup do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#get_beta_groups' do response = Spaceship::ConnectAPI.get_beta_groups expect(response).to be_an_instance_of(Spaceship::ConnectAPI::Response) expect(response.count)....
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/age_rating_declaration_spec.rb
Ruby
mit
41,450
master
2,808
describe Spaceship::ConnectAPI::AgeRatingDeclaration do let(:from_itc) do { "MZGenre.CARTOON_FANTASY_VIOLENCE" => 0, "REALISTIC_VIOLENCE" => 1, "HORROR" => 2, "UNRESTRICTED_WEB_ACCESS" => 1, "profanityOrCrudeHumor" => "NONE" } end let(:asc_1_2_false_gambling) do { ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/review_submission_item_spec.rb
Ruby
mit
41,450
master
1,869
describe Spaceship::ConnectAPI::ReviewSubmissionItem do let(:mock_tunes_client) { double('tunes_client') } let(:username) { 'spaceship@krausefx.com' } let(:password) { 'so_secret' } before do allow(mock_tunes_client).to receive(:team_id).and_return("123") allow(mock_tunes_client).to receive(:select_tea...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/build_beta_detail_spec.rb
Ruby
mit
41,450
master
802
describe Spaceship::ConnectAPI::BuildBetaDetail do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#get_build_beta_details' do response = Spaceship::ConnectAPI.get_build_beta_details expect(response).to be_an_instance_of(Spaceship::ConnectAPI::Response) exp...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/beta_tester_spec.rb
Ruby
mit
41,450
master
1,708
describe Spaceship::ConnectAPI::BetaTester do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#get_beta_testers' do response = Spaceship::ConnectAPI.get_beta_testers expect(response).to be_an_instance_of(Spaceship::ConnectAPI::Response) expect(response.coun...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/beta_app_review_detail_spec.rb
Ruby
mit
41,450
master
1,025
describe Spaceship::ConnectAPI::BetaAppReviewDetail do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#get_beta_app_review_detail' do response = Spaceship::ConnectAPI.get_beta_app_review_detail expect(response).to be_an_instance_of(Spaceship::ConnectAPI::Response...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/beta_feedback_spec.rb
Ruby
mit
41,450
master
2,528
describe Spaceship::ConnectAPI::BetaFeedback do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#get_beta_feedback' do response = Spaceship::ConnectAPI.get_beta_feedback expect(response).to be_an_instance_of(Spaceship::ConnectAPI::Response) expect(response....
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/capabilities_spec.rb
Ruby
mit
41,450
master
1,130
describe Spaceship::ConnectAPI::Capabilities do let(:mock_portal_client) { double('portal_client') } let(:username) { 'spaceship@krausefx.com' } let(:password) { 'so_secret' } before do allow(mock_portal_client).to receive(:team_id).and_return("123") allow(mock_portal_client).to receive(:select_team) ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/beta_build_metric_spec.rb
Ruby
mit
41,450
master
741
describe Spaceship::ConnectAPI::BetaBuildMetric do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#get_beta_build_metrics' do response = Spaceship::ConnectAPI.get_beta_build_metrics expect(response).to be_an_instance_of(Spaceship::ConnectAPI::Response) exp...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/bundle_id_spec.rb
Ruby
mit
41,450
master
1,139
describe Spaceship::ConnectAPI::BundleId do let(:mock_portal_client) { double('portal_client') } let(:username) { 'spaceship@krausefx.com' } let(:password) { 'so_secret' } before do allow(mock_portal_client).to receive(:team_id).and_return("123") allow(mock_portal_client).to receive(:select_team) a...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/review_submission_spec.rb
Ruby
mit
41,450
master
4,698
describe Spaceship::ConnectAPI::ReviewSubmission do let(:mock_tunes_client) { double('tunes_client') } let(:username) { 'spaceship@krausefx.com' } let(:password) { 'so_secret' } before do allow(mock_tunes_client).to receive(:team_id).and_return("123") allow(mock_tunes_client).to receive(:select_team) ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/build_bundle_file_sizes_spec.rb
Ruby
mit
41,450
master
903
describe Spaceship::ConnectAPI::BuildBundleFileSizes do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#get_build_bundles_build_bundle_file_sizes' do response = Spaceship::ConnectAPI.get_build_bundles_build_bundle_file_sizes(build_bundle_id: '48a9bb1f-5f0f-4133-8c72-3f...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/certificate_spec.rb
Ruby
mit
41,450
master
4,206
describe Spaceship::ConnectAPI::Certificate do include_examples "common spaceship login" describe '#client' do it '#get_certificates' do response = Spaceship::ConnectAPI.get_certificates expect(response).to be_an_instance_of(Spaceship::ConnectAPI::Response) expect(response.count).to eq(5) ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/bundle_id_capability_spec.rb
Ruby
mit
41,450
master
1,141
describe Spaceship::ConnectAPI::BundleIdCapability do let(:mock_portal_client) { double('portal_client') } let(:username) { 'spaceship@krausefx.com' } let(:password) { 'so_secret' } before do allow(mock_portal_client).to receive(:team_id).and_return("123") allow(mock_portal_client).to receive(:select_t...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/device_spec.rb
Ruby
mit
41,450
master
2,884
describe Spaceship::ConnectAPI::Device do include_examples "common spaceship login" describe '#client' do it '#get_devices' do response = Spaceship::ConnectAPI.get_devices expect(response).to be_an_instance_of(Spaceship::ConnectAPI::Response) expect(response.count).to eq(3) response.ea...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/beta_app_review_submission_spec.rb
Ruby
mit
41,450
master
653
describe Spaceship::ConnectAPI::BetaAppReviewSubmission do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#get_beta_app_review_submissions' do response = Spaceship::ConnectAPI.get_beta_app_review_submissions expect(response).to be_an_instance_of(Spaceship::Connec...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/beta_build_localization_spec.rb
Ruby
mit
41,450
master
690
describe Spaceship::ConnectAPI::BetaBuildLocalization do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#get_beta_build_localizations' do response = Spaceship::ConnectAPI.get_beta_build_localizations expect(response).to be_an_instance_of(Spaceship::ConnectAPI::Re...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/build_upload_spec.rb
Ruby
mit
41,450
master
1,054
describe Spaceship::ConnectAPI::BuildUpload do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#get_build_uploads' do expected_state = { "errors" => [], "infos" => [], "state" => "COMPLETE", "warnings" => [] } response = Spaceship::ConnectAPI.get_build_uploads(ap...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/beta_app_localizations_spec.rb
Ruby
mit
41,450
master
954
describe Spaceship::ConnectAPI::BetaAppLocalization do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it 'succeeds with object' do response = Spaceship::ConnectAPI.get_beta_app_localizations expect(response).to be_an_instance_of(Spaceship::ConnectAPI::Response) ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/webhook_spec.rb
Ruby
mit
41,450
master
3,050
describe Spaceship::ConnectAPI::Webhook do before do token = Spaceship::ConnectAPI::Token.from_json_file(File.expand_path("../fixtures/asc_key.json", __dir__)) Spaceship::ConnectAPI.token = token end after do Spaceship::ConnectAPI.token = nil end describe '#client' do describe '#get_webhooks...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/connect_api/models/build_spec.rb
Ruby
mit
41,450
master
1,164
describe Spaceship::ConnectAPI::Build do include_examples "common spaceship login" describe '#Spaceship::ConnectAPI' do it '#get_builds' do response = Spaceship::ConnectAPI.get_builds expect(response).to be_an_instance_of(Spaceship::ConnectAPI::Response) expect(response.count).to eq(2) ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/mock_servers/developer_portal_server.rb
Ruby
mit
41,450
master
357
require 'sinatra/base' module MockAPI class DeveloperPortalServer < Sinatra::Base set :dump_errors, true set :show_exceptions, false before do if request.post? content_type(:json) end end after do if response.body.kind_of?(Hash) response.body = JSON.dump(respon...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/mock_servers/test_flight_server.rb
Ruby
mit
41,450
master
614
require 'sinatra/base' module MockAPI class TestFlightServer < Sinatra::Base # put errors in stdout instead of returning HTML set :dump_errors, true set :show_exceptions, false before do content_type(:json) end after do if response.body.kind_of?(Hash) response.body = JSO...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/test_flight/build_spec.rb
Ruby
mit
41,450
master
10,721
require 'spec_helper' require_relative '../mock_servers' describe Spaceship::TestFlight::Build do let(:mock_client) { double('MockClient') } before do # Use a simple client for all data models allow(Spaceship::TestFlight::Base).to receive(:client).and_return(mock_client) allow(mock_client).to receive(...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/test_flight/client_spec.rb
Ruby
mit
41,450
master
12,042
require 'spec_helper' require_relative '../mock_servers' ## # subclass the client we want to test so we can make test-methods easier class TestFlightTestClient < Spaceship::TestFlight::Client def test_request(some_param: nil, another_param: nil) assert_required_params(__method__, binding) end def handle_res...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/test_flight/tester_spec.rb
Ruby
mit
41,450
master
4,939
require 'spec_helper' describe Spaceship::TestFlight::Tester do let(:mock_client) { double('MockClient') } before do allow(Spaceship::TestFlight::Base).to receive(:client).and_return(mock_client) allow(mock_client).to receive(:team_id).and_return('') end context 'attr_mapping' do let(:tester) do ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/test_flight/build_trains_spec.rb
Ruby
mit
41,450
master
1,675
require 'spec_helper' require_relative '../mock_servers' describe Spaceship::TestFlight::BuildTrains do let(:mock_client) { double('MockClient') } before do allow(Spaceship::TestFlight::Base).to receive(:client).and_return(mock_client) allow(mock_client).to receive(:team_id).and_return('') mock_client_...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/test_flight/app_test_info_spec.rb
Ruby
mit
41,450
master
6,185
require 'spec_helper' describe Spaceship::TestFlight::AppTestInfo do let(:app_test_info) do Spaceship::TestFlight::AppTestInfo.new({ 'primaryLocale' => 'en-US', 'details' => [{ 'l...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/test_flight/test_info_spec.rb
Ruby
mit
41,450
master
3,135
require 'spec_helper' describe Spaceship::TestFlight::TestInfo do let(:test_info) do Spaceship::TestFlight::TestInfo.new([ { 'locale' => 'en-US', 'description' => 'en-US description',...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/spec/test_flight/group_spec.rb
Ruby
mit
41,450
master
5,667
require 'spec_helper' describe Spaceship::TestFlight::Group do let(:mock_client) { double('MockClient') } before do allow(Spaceship::TestFlight::Base).to receive(:client).and_return(mock_client) allow(mock_client).to receive(:team_id).and_return('') end context 'attr_mapping' do let(:group) do ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
spaceship/rakelib/spec_tasks.rake
Ruby
mit
41,450
master
942
if defined? RSpec # otherwise fails on non-live environments SPEC_REQUIRES = ["--require spec_helper"].freeze INTEGRATION_REQUIRES = [ "--require ./integration/example_matcher.rb", "--require ./integration/integration_helper.rb" ].freeze task(:spec).clear desc("Run all specs and all the integration t...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
deliver/lib/deliver.rb
Ruby
mit
41,450
master
569
require_relative 'deliver/languages' require_relative 'deliver/loader' require_relative 'deliver/options' require_relative 'deliver/commands_generator' require_relative 'deliver/detect_values' require_relative 'deliver/runner' require_relative 'deliver/upload_metadata' require_relative 'deliver/upload_screenshots' requ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
deliver/lib/deliver/commands_generator.rb
Ruby
mit
41,450
master
7,752
require 'commander' require 'fastlane/version' require 'fastlane_core/ui/help_formatter' require_relative 'download_screenshots' require_relative 'options' require_relative 'module' require_relative 'generate_summary' require_relative 'runner' HighLine.track_eof = false module Deliver class CommandsGenerator i...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
deliver/lib/deliver/download_screenshots.rb
Ruby
mit
41,450
master
2,862
require_relative 'module' require 'spaceship' require 'open-uri' module Deliver class DownloadScreenshots def self.run(options, path) UI.message("Downloading all existing screenshots...") download(options, path) UI.success("Successfully downloaded all existing screenshots") rescue => ex ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
deliver/lib/deliver/runner.rb
Ruby
mit
41,450
master
13,097
require 'precheck/options' require 'precheck/runner' require 'fastlane_core/configuration/configuration' require 'fastlane_core/ipa_upload_package_builder' require 'fastlane_core/pkg_upload_package_builder' require 'fastlane_core/itunes_transporter' require 'spaceship' require_relative 'html_generator' require_relative...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
deliver/lib/deliver/app_screenshot_validator.rb
Ruby
mit
41,450
master
4,088
require 'fastimage' module Deliver class AppScreenshotValidator # A simple structure that holds error information as well as formatted error messages consistently class ValidationError # Constants that can be given to `type` param INVALID_SCREEN_SIZE = 'Invalid screen size'.freeze INVALID_F...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
deliver/lib/deliver/upload_metadata.rb
Ruby
mit
41,450
master
29,119
require 'fastlane_core' require 'spaceship' require_relative 'module' module Deliver # upload description, rating, etc. # rubocop:disable Metrics/ClassLength class UploadMetadata # All the localised values attached to the version LOCALISED_VERSION_VALUES = { description: "description", keywo...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
deliver/lib/deliver/submit_for_review.rb
Ruby
mit
41,450
master
6,925
require_relative 'module' require 'fastlane_core/build_watcher' require 'fastlane_core/ipa_file_analyser' require 'fastlane_core/pkg_file_analyser' module Deliver class SubmitForReview def submit!(options) app = Deliver.cache[:app] platform = Spaceship::ConnectAPI::Platform.map(options[:platform]) ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
deliver/lib/deliver/app_screenshot_iterator.rb
Ruby
mit
41,450
master
4,872
require_relative 'module' module Deliver # This is a convenient class that enumerates app store connect's screenshots in various degrees. class AppScreenshotIterator NUMBER_OF_THREADS = Helper.test? ? 1 : [ENV.fetch("DELIVER_NUMBER_OF_THREADS", 10).to_i, 10].min # @param localizations [Array<Spaceship::Co...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
deliver/lib/deliver/upload_screenshots.rb
Ruby
mit
41,450
master
12,032
require 'fastlane_core' require 'spaceship/tunes/tunes' require 'digest/md5' require_relative 'app_screenshot' require_relative 'module' require_relative 'loader' require_relative 'app_screenshot_iterator' module Deliver # upload screenshots to App Store Connect class UploadScreenshots DeleteScreenshotSetJob ...
github
fastlane/fastlane
https://github.com/fastlane/fastlane
deliver/lib/deliver/loader.rb
Ruby
mit
41,450
master
6,546
require_relative 'module' require_relative 'app_screenshot' require_relative 'app_screenshot_validator' require_relative 'upload_metadata' require_relative 'languages' module Deliver module Loader # The directory 'appleTV' and `iMessage` are special folders that will cause our screenshot gathering code to iterat...