-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Evaluate metadata block in the context of the controller (#873)
- Loading branch information
Showing
5 changed files
with
6 additions
and
6 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
Gem::Specification.new do |spec| | ||
spec.name = "maintenance_tasks" | ||
spec.version = "2.3.0" | ||
spec.version = "2.3.1" | ||
spec.author = "Shopify Engineering" | ||
spec.email = "[email protected]" | ||
spec.homepage = "https://github.com/Shopify/maintenance_tasks" | ||
|
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ class RunsTest < ApplicationSystemTestCase | |
assert_equal "enqueued", run.status | ||
end | ||
|
||
test "run a Task and log the user email" do | ||
test "run a Task and log the provided metadata" do | ||
MaintenanceTasks.metadata = -> { { user_email: "[email protected]" } } | ||
visit(maintenance_tasks_path) | ||
|
||
|