Sha256: e3fcb4ee9753806172a340d29ffb932e754c315cb7c3a019183272fe701ef9f8

Contents?: true

Size: 502 Bytes

Versions: 11

Compression:

Stored size: 502 Bytes

Contents

# Stubs for testing
class Fixnum
  def fdiv
  end
end
class Bignum
  def fdiv
  end
end
class String
  # stub this until we run on 1.9
  def force_encoding(str)
    self
  end
end
class SyncEngine
  def self.dosync
  end
  def self.lock_sync_mutex
  end
  def self.unlock_sync_mutex
  end
  def self.login
    1
  end
  def self.logout
  end
  def self.logged_in
    1
  end
end
class StringScanner
end
require 'rho'
class << Rho::RhoFSConnector
  def __rhoGetCurrentDir
    "../../../apps/"
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rhodes-framework-1.0.0 spec/stubs.rb
rhodes-framework-1.0.1 spec/stubs.rb
rhodes-framework-1.0.4 spec/stubs.rb
rhodes-framework-1.0.3 spec/stubs.rb
rhodes-framework-1.0.2 spec/stubs.rb
rhodes-framework-1.0.10 spec/stubs.rb
rhodes-framework-1.0.5 spec/stubs.rb
rhodes-framework-1.0.9 spec/stubs.rb
rhodes-framework-1.0.8 spec/stubs.rb
rhodes-framework-1.0.7 spec/stubs.rb
rhodes-framework-1.0.6 spec/stubs.rb