Sha256: fb0e93594c929d43ba6ac6536fdc749e5bd6b615bc1dc7845d01e0665e073af8

Contents?: true

Size: 491 Bytes

Versions: 3

Compression:

Stored size: 491 Bytes

Contents

require 'rubygems'
$:.unshift(File.join(File.dirname(__FILE__), "../lib"))

require 'action_controller'
require 'activesupport'
require 'dotiw'
require 'spec'

# Define time zone before loading, just like in the real world
zone = "UTC"
Time.zone = zone

I18n.load_path << Dir[File.join(File.dirname(__FILE__), "translations", "*")]
I18n.locale = :en

# bootstraping the plugin through init.rb
# tests how it would load in a real application
load File.dirname(__FILE__) + "/../rails/init.rb"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dotiw-0.3.1 spec/spec_helper.rb
dotiw-0.3.0 spec/spec_helper.rb
dotiw-0.2.4 spec/spec_helper.rb