3scale/porta

View on GitHub
features/step_definitions/provider_steps.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 2 of 3 total issues

File provider_steps.rb has 281 lines of code (exceeds 250 allowed). Consider refactoring.
Open

def import_simple_layout(provider)
simple_layout = SimpleLayout.new(provider)
simple_layout.import_pages!
simple_layout.import_js_and_css! if javascript_test?
end
Severity: Minor
Found in features/step_definitions/provider_steps.rb - About 2 hrs to fix

    import_simple_layout refers to 'simple_layout' more than self (maybe move it to another class?)
    Open

    simple_layout.import_pages!
    simple_layout.import_js_and_css! if javascript_test?

    setup_provider is controlled by argument 'login'
    Wontfix

    return unless login

    There are no issues that match your filters.

    Category
    Status