Sha256: 573dc85259b313ff7684b5d84fd474532ffdf573c0a2401d746a8757fe7d8727

Contents?: true

Size: 455 Bytes

Versions: 16

Compression:

Stored size: 455 Bytes

Contents

require 'rspec'
require 'cucumber/rspec/doubles'

require 'rubypitaya/core/helpers/setup_helper'
require 'rubypitaya/core/spec-helpers/app_spec_helper_class'

ENV['RUBYPITAYA_ENV'] = 'test'

RubyPitaya::AppSpecHelper.initialize_before_suite

at_exit do
  RubyPitaya::AppSpecHelper.finalize_after_suite
end

def to_string(value)
  return value if value.class == String
  return value.to_s if value.class == Integer
  return 'nil' if value.nil?
  value
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rubypitaya-3.19.6 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.19.5 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.19.4 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.19.3 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.19.2 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.19.1 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.19.0 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.18.0 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.17.2 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.17.1 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.17.0 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.16.0 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.15.3 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.15.2 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.15.1 ./lib/rubypitaya/app-template/features/support/env.rb
rubypitaya-3.15.0 ./lib/rubypitaya/app-template/features/support/env.rb