Fix misspelled marco to macro
This commit is contained in:
parent
bdc5d455ca
commit
e2fa0f5b33
@ -166,7 +166,7 @@ module AdditionalsMenuHelper
|
|||||||
# Plugin help items definition for plugins,
|
# Plugin help items definition for plugins,
|
||||||
# which do not have additionals_help_menu_items integration
|
# which do not have additionals_help_menu_items integration
|
||||||
def additionals_help_items_fallbacks(plugin_id)
|
def additionals_help_items_fallbacks(plugin_id)
|
||||||
plugins = { redmine_wiki_lists: [{ title: 'Wiki Lists Marcos',
|
plugins = { redmine_wiki_lists: [{ title: 'Wiki Lists Macros',
|
||||||
url: 'https://www.r-labs.org/projects/wiki_lists/wiki/Wiki_Lists_en' }],
|
url: 'https://www.r-labs.org/projects/wiki_lists/wiki/Wiki_Lists_en' }],
|
||||||
redmine_wiki_extensions: [{ title: 'Wiki Extensions',
|
redmine_wiki_extensions: [{ title: 'Wiki Extensions',
|
||||||
url: 'https://www.r-labs.org/projects/r-labs/wiki/Wiki_Extensions_en' }],
|
url: 'https://www.r-labs.org/projects/r-labs/wiki/Wiki_Extensions_en' }],
|
||||||
|
@ -140,7 +140,7 @@ class WikiControllerTest < Additionals::ControllerTest
|
|||||||
text: 'r/redmine'
|
text: 'r/redmine'
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_show_last_updated_by_marco
|
def test_show_last_updated_by_macro
|
||||||
@request.session[:user_id] = WIKI_MACRO_USER_ID
|
@request.session[:user_id] = WIKI_MACRO_USER_ID
|
||||||
@page.content.text = '{{last_updated_by}}'
|
@page.content.text = '{{last_updated_by}}'
|
||||||
@page.content.save!
|
@page.content.save!
|
||||||
@ -152,7 +152,7 @@ class WikiControllerTest < Additionals::ControllerTest
|
|||||||
text: 'jsmith'
|
text: 'jsmith'
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_show_last_updated_at_marco
|
def test_show_last_updated_at_macro
|
||||||
@request.session[:user_id] = WIKI_MACRO_USER_ID
|
@request.session[:user_id] = WIKI_MACRO_USER_ID
|
||||||
@page.content.text = '{{last_updated_at}}'
|
@page.content.text = '{{last_updated_at}}'
|
||||||
@page.content.save!
|
@page.content.save!
|
||||||
@ -163,7 +163,7 @@ class WikiControllerTest < Additionals::ControllerTest
|
|||||||
assert_select 'a[href=?]', '/projects/ecookbook/activity'
|
assert_select 'a[href=?]', '/projects/ecookbook/activity'
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_show_recently_updated_marco
|
def test_show_recently_updated_macro
|
||||||
@request.session[:user_id] = WIKI_MACRO_USER_ID
|
@request.session[:user_id] = WIKI_MACRO_USER_ID
|
||||||
@page.content.text = '{{recently_updated}}'
|
@page.content.text = '{{recently_updated}}'
|
||||||
@page.content.save!
|
@page.content.save!
|
||||||
@ -173,7 +173,7 @@ class WikiControllerTest < Additionals::ControllerTest
|
|||||||
assert_select 'div.recently-updated'
|
assert_select 'div.recently-updated'
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_show_calendar_marco
|
def test_show_calendar_macro
|
||||||
@request.session[:user_id] = WIKI_MACRO_USER_ID
|
@request.session[:user_id] = WIKI_MACRO_USER_ID
|
||||||
@page.content.text = '{{calendar(year=1970, month=7)}}'
|
@page.content.text = '{{calendar(year=1970, month=7)}}'
|
||||||
@page.content.save!
|
@page.content.save!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user