Sha256: c3bd67394e40132ee30685b2508427cd7427f1e95492713752931f3e25a449bb

Contents?: true

Size: 343 Bytes

Versions: 7

Compression:

Stored size: 343 Bytes

Contents

$TESTING=true
$:.push File.join(File.dirname(__FILE__), '..', 'lib')

def reload_gravtastic!
  Object.class_eval { remove_const :Gravtastic } if defined? Gravtastic
  require File.join(File.dirname(__FILE__),'../lib/gravtastic')
end

Spec::Runner.configure do |config|
  config.mock_with :rr
end

class Class
  def to_sym; name.to_sym end
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
brendanlim-gravtastic-2.1.2 spec/spec_helper.rb
chrislloyd-gravtastic-2.1.0 spec/spec_helper.rb
chrislloyd-gravtastic-2.1.2 spec/spec_helper.rb
chrislloyd-gravtastic-2.1.3 spec/spec_helper.rb
gravtastic-2.2.0 spec/spec_helper.rb
gravtastic-2.1.3 spec/spec_helper.rb
gravtastic-2.1.0 spec/spec_helper.rb