Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing weird merge cruft.

  • Loading branch information...
commit 2b5facca2b77fce8f8ab71c0471fe66f1d384637 1 parent d8d93d7
Brandon Arbini authored
Showing with 0 additions and 9 deletions.
  1. +0 −9 spec/forgery_spec.rb
View
9 spec/forgery_spec.rb
@@ -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'))
Please sign in to comment.
Something went wrong with that request. Please try again.