locale/en.yml in remarkable_rails-3.0.3 vs locale/en.yml in remarkable_rails-3.0.4
- old
+ new
@@ -1,41 +1,45 @@
en:
remarkable:
action_controller:
responding: "responding to #{{verb}} {{action}}"
- mime_type: "with {{format}}"
+ mime_type: "with {{format}}"
+
assign_to:
description: "assign {{names}}"
expectations:
assigned_value: "action to assign {{name}}, got no assignment"
is_kind_of: "assign {{name}} to be kind of {{with_kind_of}}, got a {{assign_class}}"
is_equal_value: "assign {{name}} to be equal to {{with}}, got {{assign_inspect}}"
optionals:
with_kind_of:
- positive: "with kind of {{value}}"
+ positive: "with kind of {{value}}"
+
filter_params:
description: "filter {{params}} parameters from log"
expectations:
respond_to_filter_params: "controller to respond to filter_parameters (controller is not filtering any parameter)"
- is_filtered: "{{param}} to be filtered, got no filtering"
+ is_filtered: "{{param}} to be filtered, got no filtering"
+
redirect_to:
description: "redirect to {{expected}}"
expectations:
redirected: "redirect to {{expected}}, got no redirect"
status_matches: "redirect to {{expected}} with status {{with}}, got status {{status}}"
url_matches: "redirect to {{expected}}, got redirect to {{actual}}"
optionals:
with:
- positive: "with status {{inspect}}"
+ positive: "with status {{inspect}}"
+
render_template:
description: "render"
expectations:
rendered: "template {{template}} to be rendered, got no render"
template_matches: "template {{template}} to be rendered, got {{actual_template}}"
layout_matches: "to render with layout {{layout}}, got {{actual_layout}}"
- status_matches: "to render with {{with}}, got {{actual_status}}"
- body_matches: "to render with body equals to {{body}}, got {{actual_body}}"
+ status_matches: "to render with status {{with}}, got {{actual_status}}"
+ body_matches: "to render with body {{body}}, got {{actual_body}}"
content_type_matches: "to render with content type {{content_type}}, got {{actual_content_type}}"
optionals:
template:
positive: "template {{inspect}}"
layout:
@@ -44,38 +48,42 @@
with:
positive: "with {{value}}"
body:
positive: "with body {{inspect}}"
content_type:
- positive: "with content type {{inspect}}"
+ positive: "with content type {{inspect}}"
+
respond_with:
description: "respond"
expectations:
- status_matches: "to respond with {{with}}, got {{actual_status}}"
- body_matches: "to respond with body equals to {{body}}, got {{actual_body}}"
+ status_matches: "to respond with status {{with}}, got {{actual_status}}"
+ body_matches: "to respond with body {{body}}, got {{actual_body}}"
content_type_matches: "to respond with content type {{content_type}}, got {{actual_content_type}}"
optionals:
with:
positive: "with {{value}}"
body:
positive: "with body {{inspect}}"
content_type:
- positive: "with content type {{inspect}}"
+ positive: "with content type {{inspect}}"
+
route:
description: "route {{method}} {{path}} to/from {{options}}"
expectations:
map_to_path: "to map {{options}} to {{method}} {{path}}, got {{actual}}"
- generate_params: "to generate params {{options}} from {{method}} {{path}}, got {{actual}}"
+ generate_params: "to generate params {{options}} from {{method}} {{path}}, got {{actual}}"
+
set_session:
description: "set session variable {{keys}}"
expectations:
is_not_empty: "any session variable to be set, got {{session_inspect}}"
contains_value: "any session variable to be set to {{to}}, got {{session_inspect}}"
assigned_value: "session variable {{key}} to be set, got {{session_inspect}}"
is_equal_value: "session variable {{key}} to be set to {{to}}, got {{session_inspect}}"
optionals:
to:
- positive: "to {{inspect}}"
+ positive: "to {{inspect}}"
+
set_the_flash:
description: "set the flash message {{keys}}"
expectations:
is_not_empty: "any flash message to be set, got {{flash_inspect}}"
contains_value: "any flash message to be set to {{to}}, got {{flash_inspect}}"