sugarcrm/rspec-tabular

View on GitHub

Showing 1 of 1 total issue

Method its_with has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def its_with(attribute, *input_values, &block)
        if block.nil? && (metadata[:inputs].size == input_values.size - 1)
          expected_value = input_values.pop
          block = proc { should eq(expected_value) }
        end
Severity: Minor
Found in lib/rspec/tabular.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language