Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Test ENV condition #1362

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

stanleylhs
Copy link
Member

We also tried to remove test env condition in lib/fat_free_crm/gem_ext/action_controller/base.rb but rspec ./spec/views/admin/field_groups/create.js.haml_spec.rb:18 is failing

  1. admin/field_groups/create renders javascript
    Failure/Error: = select :field, :as, field_edit_as_options(@field), include_blank: true, id: nil, class: 'select2'

    ActionView::Template::Error:
    undefined method `field_edit_as_options' for #<#Class:0x00007f3f91b38350:0x00007f3f90e13878>

We tried to remove it in lib/fat_free_crm/gem_ext/action_controller/base.rb but rspec ./spec/views/admin/field_groups/create.js.haml_spec.rb:18 is failing

  1) admin/field_groups/create renders javascript
     Failure/Error: = select :field, :as, field_edit_as_options(@field), include_blank: true, id: nil, class: 'select2'

     ActionView::Template::Error:
       undefined method `field_edit_as_options' for #<#<Class:0x00007f3f91b38350>:0x00007f3f90e13878>
@CloCkWeRX CloCkWeRX merged commit 4e35c58 into fatfreecrm:master Nov 26, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants