Simplify translatable tests in admin section
These feature tests were taking too long, we can't run them for every single model. I'm taking the approach of using one different model for each test, but in theory only using a few models covering every possible scenario would be enough.
This commit is contained in:
@@ -11,12 +11,6 @@ describe "Admin budget investments" do
|
||||
:budget_investment,
|
||||
"admin_budget_budget_investment_path"
|
||||
|
||||
it_behaves_like "edit_translatable",
|
||||
:budget_investment,
|
||||
"edit_admin_budget_budget_investment_path",
|
||||
%w[title],
|
||||
{ "description" => :ckeditor }
|
||||
|
||||
before do
|
||||
@admin = create(:administrator)
|
||||
login_as(@admin.user)
|
||||
|
||||
Reference in New Issue
Block a user