forked from paginagmbh/redmine_lightbox2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added redmine 2.1 and redmine 2.2 compatibility (removed redmine-1.4 …
…related code)
- Loading branch information
1 parent
7929a2b
commit 1692bd4
Showing
12 changed files
with
66 additions
and
85 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
coverage |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,3 @@ | |||
group :test do | |||
gem 'simplecov', '~> 0.6' | |||
end |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,7 +1,19 @@ | |||
# Load the normal Rails helper | # Load the normal Rails helper | ||
helper_path = File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper') | helper_path = File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper') | ||
if !File.exists?(helper_path) |
|
||
helper_path = File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper') | plugin_root = File.expand_path(File.dirname(__FILE__) + '/../') | ||
|
|||
if RUBY_VERSION >= "1.9" | |||
require 'simplecov' | |||
SimpleCov.start do | |||
base_dir = plugin_root | |||
root base_dir | |||
add_group "Models", "app/models" | |||
add_group "Controllers", "app/controllers" | |||
add_group "Helpers", "app/helpers" | |||
add_group "Views", "app/views" | |||
add_group "Lib", "lib" | |||
end | |||
end | end | ||
|
|
||
require helper_path | require helper_path |