Sha256: 46be64b297fe967510d745d545ddd7c5c9a798015731890d27a41dace77982f1

Contents?: true

Size: 272 Bytes

Versions: 29

Compression:

Stored size: 272 Bytes

Contents

class Test < ActiveRecord::Base

end

# Constant lookup in ruby works by lexical scope, so we can't create classes dynamically to test this.
class TestForSaviourFileResolution < Test
  include Saviour::Model

  def foo
    File.file?("/tasdasdasdmp/blabla.txt")
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
saviour-0.6.0 spec/support/models.rb
saviour-0.5.11 spec/support/models.rb
saviour-0.5.10 spec/support/models.rb
saviour-0.5.9 spec/support/models.rb
saviour-0.5.8 spec/support/models.rb
saviour-0.5.7 spec/support/models.rb
saviour-0.5.6 spec/support/models.rb
saviour-0.5.5 spec/support/models.rb
saviour-0.5.4 spec/support/models.rb
saviour-0.5.3 spec/support/models.rb
saviour-0.5.2 spec/support/models.rb
saviour-0.5.1 spec/support/models.rb
saviour-0.5.0 spec/support/models.rb
saviour-0.4.14 spec/support/models.rb
saviour-0.4.13 spec/support/models.rb
saviour-0.4.12 spec/support/models.rb
saviour-0.4.11 spec/support/models.rb
saviour-0.4.10 spec/support/models.rb
saviour-0.4.9 spec/support/models.rb
saviour-0.4.8 spec/support/models.rb