Permalink
Browse files

Fixing weird merge cruft.

  • Loading branch information...
1 parent d8d93d7 commit 2b5facca2b77fce8f8ab71c0471fe66f1d384637 Brandon Arbini committed Jul 19, 2011
Showing with 0 additions and 9 deletions.
  1. +0 −9 spec/forgery_spec.rb
View
@@ -41,15 +41,6 @@
Forgery(:lorem_ipsum, :text, :sentences, 2)
end
- it "should return the rails root path if Rails.root is defined" do
- RAILS_ROOT = '/path/from/rails/root/const'
- Forgery.rails_root.should == '/path/from/rails/root/const'
- Object.instance_eval { remove_const(:RAILS_ROOT) }
- end
- RAILS_ROOT = '/path/from/rails/root/const'
- Forgery.rails_root.should == '/path/from/rails/root/const'
- Object.instance_eval { remove_const(:RAILS_ROOT) }
-
it "should return the rails root path as a string if Rails.root is defined" do
Rails = Object.new
Rails.stub!(:root).and_return(Pathname.new('/path/from/rails/dot/root'))

0 comments on commit 2b5facc

Please sign in to comment.