forked from UnderpantsGnome/fckeditor_on_rails
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak up install/uninstall Add some notes to the README and config
- Loading branch information
1 parent
e2c464f
commit 7f57a20
Showing
7 changed files
with
216 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
require 'fileutils' | ||
|
||
FileUtils.ln_s( | ||
File.join(File.dirname(__FILE__), 'test', 'fckeditor_controller_test.rb'), | ||
File.join(File.dirname(__FILE__), '..', '..', 'test', 'functional', | ||
'fckeditor_controller_test.rb') | ||
dest_file = File.join(File.dirname(__FILE__), '..', '..', '..', 'test', | ||
'functional', 'fckeditor_controller_test.rb') | ||
|
||
FileUtils.rm(dest_file) rescue nil | ||
|
||
FileUtils.cp( | ||
File.join(File.dirname(__FILE__), 'test', 'functional', 'fckeditor_controller_test.rb'), | ||
dest_file | ||
) rescue puts <<-EOM | ||
Unable to link the functional test, if you want to include fckeditor_on_rails | ||
in your testing copy test/functional/fckeditor_controller_test.rb from the | ||
plugin directory into your app | ||
Unable to copy the functional test, if you want to include fckeditor_on_rails | ||
in your testing copy #{File.dirname(__FILE__)}/test/functional/fckeditor_controller_test.rb | ||
from the plugin directory into test/functional/ | ||
EOM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
this is just a text file to test upload blocking |
Oops, something went wrong.