generated from dxw/rails-template
-
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.
Fix specs for translation exceptions
Since we're now raising on missing translations, these specs must use Transaction subclasses and `collaboration_type`s with translations. Transaction, as an abstract class, does not possess them, and "Replace me" is likewise not a valid collaboration_type.
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
validates :date, date_not_in_future: true | ||
|
||
def self.name | ||
"Transaction" | ||
"Actual" | ||
end | ||
}.new | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
validates :date, date_within_boundaries: true | ||
|
||
def self.name | ||
"Transaction" | ||
"Actual" | ||
end | ||
}.new | ||
end | ||
|