Sha256: 2959a225d34f64bc44311d8bd260637f4daa1025b001ba1529c7fbc26e92dc9b

Contents?: true

Size: 274 Bytes

Versions: 12

Compression:

Stored size: 274 Bytes

Contents

# Cucumber does not load env.rb when running a dry-run. As the pages inherit
# from Calabash::Page and assert that the scopes IOS and Android are defined,
# we should require calabash.

if ARGV.include?('--dry-run')
  require 'calabash/android'
  require 'calabash/ios'
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
calabash-2.0.0.pre10 lib/calabash/lib/skeleton/features/support/dry_run.rb
calabash-2.0.0.pre9 lib/calabash/lib/skeleton/features/support/dry_run.rb
calabash-2.0.0.prelegacy4 lib/calabash/lib/skeleton/features/support/dry_run.rb
calabash-2.0.0.prelegacy3 lib/calabash/lib/skeleton/features/support/dry_run.rb
calabash-2.0.0.prelegacy2 lib/calabash/lib/skeleton/features/support/dry_run.rb
calabash-2.0.0.prelegacy lib/calabash/lib/skeleton/features/support/dry_run.rb
calabash-2.0.0.pre6 lib/calabash/lib/skeleton/features/support/dry_run.rb
calabash-2.0.0.pre5 lib/calabash/lib/skeleton/features/support/dry_run.rb
calabash-2.0.0.pre4 lib/calabash/lib/skeleton/features/support/dry_run.rb
calabash-2.0.0.pre3 lib/calabash/lib/skeleton/features/support/dry_run.rb
calabash-2.0.0.pre2 lib/calabash/lib/skeleton/features/support/dry_run.rb
calabash-2.0.0.pre1 lib/calabash/lib/skeleton/features/support/dry_run.rb