Skip to content

Commit

Permalink
stub rails version to spec helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard committed Oct 14, 2009
1 parent 8acb979 commit fcbf7dd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec/spec_helper.rb
Expand Up @@ -3,6 +3,12 @@
require 'active_record'
require 'action_controller'

module Rails
module VERSION
STRING = "2.3.2"
end
end

RAILS_ROOT = File.expand_path(__FILE__).split('/')[0..-3].join('/') unless defined? RAILS_ROOT
require File.expand_path(File.join(File.dirname(__FILE__), '../lib/bullet/notification'))
require File.expand_path(File.join(File.dirname(__FILE__), '../lib/bullet/logger'))
Expand Down Expand Up @@ -47,4 +53,4 @@ def unused_preload_associations_for?(klazz, association)
end
end
end
end
end

0 comments on commit fcbf7dd

Please sign in to comment.